1

I am getting the following error while installing gulp using nodejs on my windows OS. The following is the error I get when I type:

npm install -g gulp

This is the output I get:

npm ERR! [email protected] install: `node fetch.js` 
npm ERR! spawn ENOENT 
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the v8flags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node fetch.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8flags
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "E:\\Program Files\\nodejs\\\\node.exe" "E:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "gulp"
npm ERR! cwd C:\Users\pramod\Desktop
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! not ok code 0
8
  • 1
    Can you post the output of npm --loglevel=silly install -g gulp somewhere? Commented Nov 2, 2014 at 14:20
  • @mscdex: Yes I did run the command, but the logs are too big, Can you send me your email so I can mail you the log? wetransfer.com/downloads/… Commented Nov 2, 2014 at 14:48
  • I have tried to upload it on wetransfer and have sent you the link.. let me know if you can download it Commented Nov 2, 2014 at 15:21
  • Is your PATH environment variable set up properly (since it seems like your Users and Program Files directories are on different drives)? What does where node output when you execute it from a command prompt? Commented Nov 2, 2014 at 15:36
  • Can you also post the output of "npm install -g gulp -verbose"? Commented Nov 3, 2014 at 9:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.