M
M
Max Rudik2016-04-08 10:01:05
Layout
Max Rudik, 2016-04-08 10:01:05

Why doesn't bash see the gulp command?

Good afternoon!
First time with gulp.
I installed npm, installed gulp, globally and in the project, the dependencies were registered, gulpfile - I checked everything.
npm ls - yes, everything is installed.
But...
bash: gulp: command not found
Googled such a solution to the problem (although there is no mention of it in the manuals for beginners)
stackoverflow.com/questions/24027551/gulp-command-...
Registered the NODE_PATH system variable, but again - bash: gulp: command not found
What and where is wrong? Thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
monochromer, 2016-04-08
@monochromer

npm packages are not in the same folder with nodejs, so you need to register the folder with npm, for example, on Windows it is hereC:\Users\username\AppData\Roaming\npm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question