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.

You cannot use the new command inside an Angular CLI project.
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 below images, congratulations to you.

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

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注