Bin conflict with gulp & gulp-cli
See original GitHub issueNpm install fails when having gulp-cli as dependency and gulp as devDependency. This is probably because both of them try to link their own gulp bin.
∴ slush git:(4.0) npm install
> v8flags@1.0.8 install /Users/heikki/Desktop/heikki/slush/node_modules/gulp/node_modules/v8flags
> node fetch.js
> v8flags@1.0.8 install /Users/heikki/Desktop/heikki/slush/node_modules/gulp-cli/node_modules/v8flags
> node fetch.js
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/heikki/.nvm-fish/v0.10.35/bin/npm" "install"
npm ERR! node v0.10.35
npm ERR! npm v2.1.17
npm ERR! path ../gulp-cli/bin/gulp.js
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! EEXIST, symlink '../gulp-cli/bin/gulp.js'
File exists: ../gulp-cli/bin/gulp.js
Move it away, and try again.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/heikki/Desktop/heikki/slush/npm-debug.log
Issue Analytics
- State:
- Created 9 years ago
- Comments:53 (37 by maintainers)
Top Results From Across the Web
Gulp: /usr/local/bin/gulp: No such file or directory
I've been using gulp without issue for months, but managed to screw it up somehow. I've removed gulp and gulp-cli (using npm) both...
Read more >gulp-conflict - npm
Check if files in stream conflict with those in target dir, with option to use new, keep old, show diff, etc. Primary objective....
Read more >Quick fix for "gulp: command not found" error
How to fix this error by making sure your Gulp is installed locally and some ... You can do this by typing in...
Read more >Getting Started with Gulp.js - Semaphore Tutorial
Gulp is a command-line task runner for Node.js. Gulp let us automate processes and run repetitive tasks with ease. What makes Gulp different ......
Read more >'gulp' is not recognized as an internal or external command ...
you should run gulp from folder where gulpfile.js is available. ... Files\nodejs\nodemodules\npm\bin\npm-cli.js" "run" "serve" npm ERR! node v6.9.5 npm ERR!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@silkentrance no, this is an npm issue as stated above
For those of you having this issue with yarn (since they didn’t fix it there I think), you can fix this by manually adding this to yourpackage.json
:And then removingnode_modules
and your lockfile and installing again.With this your localpackage.json
’sbin
entry will take precedence over the ones defined in the external packages, and you should be able to control whose bin file to use this way.EDIT: actually even locally defining it doesn’t give it precedence -.-