[Solved] You cannot use the new command inside an Angular CLI project.

You cannot use the new command inside an Angular CLI project.
If you see these words you in your terminal, the best way to solve it is just remove package.json.

ls -a 
rm -rf package.json

Then have a try, you’ll find everything goes smoothly. Attached are the errors I miss.



If you see below images, congratulations to you.

Similar Posts: