Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级gulp到v4 #6

Closed
holyzfy opened this issue Jul 27, 2016 · 0 comments
Closed

升级gulp到v4 #6

holyzfy opened this issue Jul 27, 2016 · 0 comments

Comments

@holyzfy
Copy link
Owner

holyzfy commented Jul 27, 2016

  1. 如果之前全局安装过gulp的v3版本,请先删除 npm uninstall -g gulp
  2. 在febu目录运行 git pull && npm install

如果提示类似这样的错误,请按说明删掉相应的文件后重试

/usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp-cli/bin/gulp.js
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "gulp-cli"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! path /usr/local/share/man/man1/gulp.1
npm ERR! code EEXIST

npm ERR! Refusing to delete /usr/local/share/man/man1/gulp.1: ../../../lib/node_modules/gulp/gulp.1 symlink target is not controlled by npm /usr/local
npm ERR! File exists: /usr/local/share/man/man1/gulp.1
npm ERR! Move it away, and try again.
@holyzfy holyzfy closed this as completed Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant