如何全局安装 gulp
How to install gulp globally
我正在尝试在工作计算机上全局安装 gulp 并发现一些错误
> PS C:\OpenServer\domains\the_witcher_3_wild_hunt> npm install gulp -g
> npm ERR! path \DOM-PDC\HomeWin7$\ npm ERR! code ELOOP npm ERR! errno
> -62 npm ERR! syscall stat npm ERR! ELOOP: too many symbolic links encountered, stat '\DOM-PDC\HomeWin7$\'
>
> npm ERR! A complete log of this run can be found in: npm ERR!
> C:\Devel\nodejs\npm-cache\_logs19-07-31T08_56_13_632Z-debug.log
编辑:
- 我已阅读 this related issue 并且可以确认未安装
gulp
的先前版本。
- 我也通过运行清除了npm cache;
npm cache clean --force
,但同样的问题仍然存在。
这个问题是关于 "prefix",因为它暗示@TripeHound。
如果你有类似的问题,你可以找到答案here
我正在尝试在工作计算机上全局安装 gulp 并发现一些错误
> PS C:\OpenServer\domains\the_witcher_3_wild_hunt> npm install gulp -g
> npm ERR! path \DOM-PDC\HomeWin7$\ npm ERR! code ELOOP npm ERR! errno
> -62 npm ERR! syscall stat npm ERR! ELOOP: too many symbolic links encountered, stat '\DOM-PDC\HomeWin7$\'
>
> npm ERR! A complete log of this run can be found in: npm ERR!
> C:\Devel\nodejs\npm-cache\_logs19-07-31T08_56_13_632Z-debug.log
编辑:
- 我已阅读 this related issue 并且可以确认未安装
gulp
的先前版本。 - 我也通过运行清除了npm cache;
npm cache clean --force
,但同样的问题仍然存在。
这个问题是关于 "prefix",因为它暗示@TripeHound。 如果你有类似的问题,你可以找到答案here