Answer the question
In order to leave comments, you need to log in
Why doesn't it find gulp (not installed globally)?
Good afternoon everyone.
I moved to a new working machine, the captain is on it 10.11.3
I put node, npm, then gulp globally, I upload my project, I do npm i
it, I see that everything is pulling up. Further gulp -v
and see -bash: gulp: command not found
I found a solution with the addition of the following:
"scripts": {
"gulp": "gulp",
"minify": "gulp minify"
},
npm run gulp
, but still. FS-MacBook-Air:lib FS$ sudo npm install gulp -g
Password:
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to [email protected]^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0.
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to [email protected]^4.0.0 as soon as possible.
/Users/FS/.npm-global/bin/gulp -> /Users/FS/.npm-global/lib/node_modules/gulp/bin/gulp.js
[email protected] /Users/FS/.npm-global/lib/node_modules/gulp
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Answer the question
In order to leave comments, you need to log in
problem with npm, solution was sudo chown -R $(whoami) ~/.npm
stackoverflow.com/questions/16151018/npm-throws-er...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question