user2301515 user2301515 - 3 months ago 136
Node.js Question

Installing gulp to windows 10

I've installed gulp

npm install --global gulp


and set envidoment variable:

- variable: GULP_HOME
- Value: C:\Users\myaccount\AppData\Roaming\npm\node_modules\gulp (..\gulp is folder)


in environment variables
And try to run "gulp". Then i get a message in cmd:

C:\myaccount\workspace\todoparrot>gulp
[09:47:24] Local gulp not found in C:\myaccount\workspace\todoparrot


How to set gulp to work?

fsf fsf
Answer

You must locally install gulp to that folder. Use the following command.

npm install gulp

This fixed my problem

Comments