ng new my-app causes This command can not be run inside of a CLI project.
See original GitHub issueVersions
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)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
angular - This command can only be run inside of a CLI project
Yes. If you just want to generate Angular app with version 5 you can use npx @angular/cli@1.7.4 new hello , then you ...
Read more >angular/angular-cli - Gitter
Hi, I am currently working on a monorepository project with 6 libs inside /projects and one main application inside /src folder. When we...
Read more >Angular CLI Behind the Scenes - Part One
Even stranger, although nothing has changed, the next thing that the tutorial instructs you to do is to run the command: ng new...
Read more >CLI Overview and Command Reference - Angular
Use the ng generate command to add new files for additional components and services, and code for new pipes, directives, and so on....
Read more >What's new in Angular CLI 6.0? - Ninja Squad
It's now a command that can install packages and run migration scripts automatically. The command will look into the package.json file of the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
delete all
.angular*
files in the user root directory and all will work afterHow it is possible to release a new version of angular-cli and not test new project generation?
Build system should be improved.