V
V
Vika1811142017-10-15 21:58:07
macOS
Vika181114, 2017-10-15 21:58:07

How to solve problem when installing gulp Mac?

Help me please. Switched to Mac, and when installing Gulp globally, it gives the following errors:
MacBook-Pro-Macbook:~ macbookpro$ sudo npm install -g gulp
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "gulp"
npm ERR! node v6.11.
4 npm ERR! npm v3.10.10
npm ERR! path /usr/local/bin/gulp
npm ERR! code EEXIST
npm ERR! Refusing to delete /usr/local/bin/gulp: ../lib/node_modules/gulp-cli/bin/gulp.js symlink target is not controlled by npm /usr/local
npm ERR! File exists: /usr/local/bin/gulp
npm ERR! Move it away, and try again.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/macbookpro/npm-debug.log

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Mangazeev, 2019-03-12
@alex3287

Try this command:
sudo npm install gulp-cli -g

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question