14

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?

2

2 Answers 2

22

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
Sign up to request clarification or add additional context in comments.

Comments

6

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.