componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 305 forks source link

"npm install -g component" throws Windows Error #576

Closed sankaran85 closed 10 years ago

sankaran85 commented 10 years ago

npm ERR! Error: ENOENT, open 'C:\Users\totient\AppData\Roaming\npm\node_mo component\node_modules\proxy-agent\node_modules\pac-proxy-agent\node_modul -uri\node_modules\ftp\node_modules\readable-stream\node_modules\core-util- DME.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program File ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "component@0.19" npm ERR! cwd C:\Users\totient\Desktop\node\expresshogan npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.3 npm ERR! path C:\Users\totient\AppData\Roaming\npm\node_modules\component\ odules\proxy-agent\node_modules\pac-proxy-agent\nodemodules\get-uri\node s\ftp\node_modules\readable-stream\node_modules\core-util-is\README.md npm ERR! code ENOENT npm ERR! errno 34 npm ERR! Error: ENOENT, open 'C:\Users\totient\AppData\Roaming\npm\node_mo component\node_modules\proxy-agent\node_modules\pac-proxy-agent\node_modul -uri\node_modules\ftp\node_modules\readable-stream\node_modules\isarray\RE d' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program File ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "component@0.19" npm ERR! cwd C:\Users\totient\Desktop\node\expresshogan npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.3 npm ERR! path C:\Users\totient\AppData\Roaming\npm\node_modules\component\ odules\proxy-agent\node_modules\pac-proxy-agent\nodemodules\get-uri\node s\ftp\node_modules\readable-stream\node_modules\isarray\README.md npm ERR! code ENOENT npm ERR! errno 34 npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program File ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "component@0.19" npm ERR! cwd C:\Users\totient\Desktop\node\expresshogan npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.3 npm ERR! code ENOGIT npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\totient\Desktop\node\expresshogan\npm-debug.log npm ERR! not ok code 0

sankaran85 commented 10 years ago

Im blocked ... Some help !!!!

dominicbarnes commented 10 years ago

Looks like you need to install git on your windows machine. (my guess is one of those dependencies is distributing itself via github)

stephenmathieson commented 10 years ago

npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.

Looks like you need to install git.

stephenmathieson commented 10 years ago

@dominicbarnes Haha beat me to it!

sankaran85 commented 10 years ago

i have git in my machine ....

dominicbarnes commented 10 years ago

If that's the case, you probably don't have it in your $PATH. The point is npm is failing because it can't find the command.

Perhaps this article will help.

sankaran85 commented 10 years ago

Cool that's rite ... it worked thanks all !!!!!