Solvedangular cli ng new my-app causes This command can not be run inside of a CLI project.

Versions

Node v8.11.1
NPM 5.6.0
Windows 10 64 bit

Repro steps

  • install next version of @angular/cli@next
  • Create new project with ng new my_project
  • See error message

Observed behavior

This command can not be run inside of a CLI project.

Desired behavior

New project should be created.

Mention any other details that might be useful (optional)

17 Answers

✔️Accepted Answer

delete all .angular* files in the user root directory and all will work after

Other Answers:

Maybe we can change the error message to enable users to remove their leftover files without having to google it first...

More Issues: