标签:erro es6 module nav node bsp error esc 依赖
Error: ELOOP: too many symbolic links encountered, stat ‘C:\Users\inn\angulardem
o\node_modules\@angular\cli\node_modules\webpack\node_modules\escope\node_module
s\es6-map\node_modules\d\node_modules\es5-ext\node_modules\es6-iterator\node_mod
ules\d\node_modules\es5-ext\node_modules\es6-iterator\node_modules\d\node_module
s\es5-ext\node_modules\es6-iterator\node_modules\d\node_modules\es5-ext\node_mod
ules\es6-iterator\node_modules\d\node_modules\es5-ext\node_modules\es6-iterator\
node_modules\d\node_modules\es5-ext\node_modules\es6-iterator\node_modules\d\nod
e_modules\es5-ext\node_modules\es6-iterator\node_modules\d\node_modules\es5-ext\
node_modules\es6-iterator\node_modules\d\node_modules\es5-ext\node_modules\es6-i
terator\node_modules\d‘
ELOOP: too many symbolic links encountered, stat ‘C:\Users\inn\angulardemo\node_
modules\@angular\cli\node_modules\webpack\node_modules\escope\node_modules\es6-m
ap\node_modules\d\node_modules\es5-ext\node_modules\es6-iterator\node_modules\d\
node_modules\es5-ext\node_modules\es6-iterator\node_modules\d\node_modules\es5-e
xt\node_modules\es6-iterator\node_modules\d\node_modules\es5-ext\node_modules\es
6-iterator\node_modules\d\node_modules\es5-ext\node_modules\es6-iterator\node_mo
dules\d\node_modules\es5-ext\node_modules\es6-iterator\node_modules\d\node_modul
es\es5-ext\node_modules\es6-iterator\node_modules\d\node_modules\es5-ext\node_mo
dules\es6-iterator\node_modules\d\node_modules\es5-ext\node_modules\es6-iterator
\node_modules\d‘
解决方法:
1、将node_modules文件整个删除,npm install重新安装一次依赖包【亲测可行】
2、更改pakage.json的@angular/cli的版本,可以改成 1.2.1或者1.2.6
angular2使用ng g component navbar创建组件报错
标签:erro es6 module nav node bsp error esc 依赖
原文地址:http://www.cnblogs.com/yunspider/p/7776838.html