E
E
Egor Astreiko2020-06-10 21:15:39
gulp.js
Egor Astreiko, 2020-06-10 21:15:39

Why is gulp not installed globally?

Hello everyone, gulp was installed globally on the PC, after installing atom.io and then removing it using Revo Uninstaller Pro, gulp also flew away, at first I thought that the editor was stupid, it also did not give results through the command line ...

"gulp" is not an internal or external
command, operable program, or batch file.

I decided to install gulp globally again:
npm rm --global gulp
npm install --global gulp-cli
After that, when calling the gulp -v commands:
"gulp" is not an internal or external
command, operable program, or batch file.

Who faced this? How to solve such a problem?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Martin Makara, 2020-06-10
@Egor1324

The thing is that you did not install gulp, as you wrote above, you installed gulp-cli globally, but you run gulp, so the console gives you an error. You need to create a folder with the project, run "npm init" there, and then install gulp into the project itself using the command "npm install --save-dev gulp".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question