简体   繁体   English

我无法在本地安装gulp,\\ node_modules \\ ansi-regex错误

[英]I can't install gulp locally, error with \node_modules\ansi-regex

I'm trying to install Gulp on Windows 10, but i get an error installing it locally. 我试图在Windows 10上安装Gulp,但在本地安装时遇到错误。

$ node -v
v9.10.1

$ npm -v
5.6.0

I installed Gulp globally: 我在全球范围内安装了Gulp:

$ npm install --global gulp-cli

$ gulp -v
CLI version 2.0.1

$ npm init
...

Now i try to install it locally but... : 现在我尝试在本地安装它,但是...:

$ npm install --save-dev gulp
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated natives@1.1.2: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN css-clase10@1.0.0 No description
npm WARN css-clase10@1.0.0 No repository field.

npm ERR! path C:\Users\Jose\Documents\Programacion\CSS desde 0\CSS-Clase10\node_modules\ansi-regex
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Jose\Documents\Programacion\CSS desde 0\CSS-Clase10\node_modules\ansi-regex' -> 'C:\Users\Jose\Documents\Programacion\CSS desde 0\CSS-Clase10\node_modules\.ansi-regex.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jose\AppData\Roaming\npm-cache\_logs\2018-03-30T14_43_45_408Z-debug.log

Any idea why i am getting this error. 任何想法为什么我收到此错误。

Thanks 谢谢

Ok, solved. 好,解决了

https://github.com/zurb/foundation-sites/issues/10826 https://github.com/zurb/foundation-sites/issues/10826

The problem was Malwarebytes 问题是恶意软件字节

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

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