Reputation: 41
I can't install gulp globally on my windows 7 machine. I used npm install --global gulp-cli
but showed this error:
when i used gulp -v
I got this error
please help
Upvotes: 1
Views: 1843
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
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