一开始我新建项目的步骤是:
ng new demo --skip-install
cnpm install
ng serve
后来新建项目的步骤:
ng new demo --skip-install
npm install
ng serve
结论:将第二行的cnpm改成npm即可
原文地址:https://www.cnblogs.com/lglspace/p/9191137.html
时间: 2024-12-26 11:32:23
一开始我新建项目的步骤是:
ng new demo --skip-install
cnpm install
ng serve
后来新建项目的步骤:
ng new demo --skip-install
npm install
ng serve
结论:将第二行的cnpm改成npm即可
原文地址:https://www.cnblogs.com/lglspace/p/9191137.html