【发布时间】:2020-04-06 16:10:17
【问题描述】:
下面是终端输出的样子:
Kayas-MacBook-Pro:~ pineapplelaptop$ npm install --global gulp-cli
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! code EEXIST
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/gulp-cli/bin/gulp.js
npm ERR! dest /usr/local/bin/gulp
npm ERR! errno -17
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/gulp-cli/bin/gulp.js' -> '/usr/local/bin/gulp'
npm ERR! File exists: /usr/local/bin/gulp
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pineapplelaptop/.npm/_logs/2020-04-06T16_00_35_220Z-debug.log
Kayas-MacBook-Pro:~ pineapplelaptop$
还有其他人遇到过这个问题吗?
【问题讨论】:
-
能否请您添加您的 npm 和节点版本。
标签: javascript gulp