Moshtafizur Rahman
Moshtafizur Rahman

Reputation: 41

Can't install gulp globally

I can't install gulp globally on my windows 7 machine. I used npm install --global gulp-cli but showed this error:

this

when i used gulp -v I got this error

enter image description here

please help

Upvotes: 1

Views: 1843

Answers (2)

Moshtafizur Rahman
Moshtafizur Rahman

Reputation: 41

At least, It solved! I followed this article install gulp till step #2 then I installed gulp globally on terminal using this code npm install gulp-cli -g.

Thank you everyone for help me.

Upvotes: 1

rassakra
rassakra

Reputation: 1121

try this commands: If you've previously installed gulp globally, try to delete it using:

npm rm --global gulp

After that install new version of gulp using:

npm install --global gulp
npm link gulp

and verify yourgulp version:

gulp --version

Upvotes: 0

Related Questions