ng 发生 Error: ELOOP: too many symbolic links encountered...

ng g component components/home

发生如下提示:

由于使用 cnpm install 安装 node_modules 导致这样.

解决办法:

删除 node_modules, 使用 npm install 重新安装, 一切正常

posted @ 2017-10-12 15:16  Yu  阅读(2045)  评论(0编辑  收藏  举报