ng g component components/home
发生如下提示:
由于使用 cnpm install 安装 node_modules 导致这样.
解决办法:
删除 node_modules, 使用 npm install 重新安装, 一切正常
ng g component components/home
发生如下提示:
由于使用 cnpm install 安装 node_modules 导致这样.
解决办法:
删除 node_modules, 使用 npm install 重新安装, 一切正常
转载于:https://www.cnblogs.com/yipeng-yu/p/7656230.html