简体   繁体   English

如何在全球范围内安装gulp

[英]How to install gulp globally

I am trying to istall gulp globally at work computer and find some error 我正在尝试在工作计算机上全局吞咽并发现一些错误

> 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\_logs\2019-07-31T08_56_13_632Z-debug.log

Edit: 编辑:

  • I have read this related issue and can confirm that no previous version of gulp is installed. 我已经阅读了此相关问题 ,可以确认没有安装先前版本的gulp
  • I have also cleared the npm cache by running; 我还通过运行清除了npm缓存 npm cache clean --force , however the same problem still persists. npm cache clean --force ,但是相同的问题仍然存在。

This problem is about "prefix", as it suggest @TripeHound. 此问题与“前缀”有关,因为它提示@TripeHound。 If you have similar problem you can find answers here 如果您有类似的问题,可以在这里找到答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM