我正在尝试在Windows 10上安装Gulp,但是在本地安装它会出错。
$ node -v
v9.10.1
$ npm -v
5.6.0
我在全球范围内安装了Gulp:
$ npm install --global gulp-cli
$ gulp -v
CLI version 2.0.1
$ npm init
...
现在我尝试在本地安装它,但是......:
$ 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
我知道为什么会收到此错误。
由于