user2301515
user2301515

Reputation: 5117

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?

Upvotes: 14

Views: 42526

Answers (2)

fsf
fsf

Reputation: 236

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

npm install gulp

if it is not fixed, try to install it globally:

npm install gulp-cli -g

Upvotes: 22

cs123
cs123

Reputation: 61

I installed gulp globally, then used the link command to link the current directory to the global installation. I used the command -

npm link gulp

Upvotes: 6

Related Questions