2012-08-12 2 views
4

Voici un rapide:NPM Échec de l'extraction

npm install socket.io 

npm http GET https://registry.npmjs.org/socket.io 
npm http 304 https://registry.npmjs.org/socket.io 
npm http GET https://registry.npmjs.org/-/socket.io-0.9.10.tgz 
npm http 404 https://registry.npmjs.org/-/socket.io-0.9.10.tgz 
npm ERR! fetch failed https://registry.npmjs.org/-/socket.io-0.9.10.tgz 
npm ERR! Error: 404 Not Found 
npm ERR!  at null.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/fetch.js:47:16) 
npm ERR!  at EventEmitter.emit (events.js:115:20) 
npm ERR!  at WriteStream.flush (fs.js:1514:12) 
npm ERR!  at fs.close (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:92:5) 
npm ERR!  at Object.oncomplete (fs.js:297:15) 
npm ERR! If you need help, you may report this log at: 
npm ERR!  <http://github.com/isaacs/npm/issues> 
npm ERR! or email it to: 
npm ERR!  <[email protected]> 

npm ERR! System Darwin 11.4.0 
npm ERR! command "node" "/usr/local/bin/npm" "install" "socket.io" 
npm ERR! cwd /Users/enrico/Documents/MMORPG 
npm ERR! node -v v0.8.6 
npm ERR! npm -v 1.1.48 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  /Users/enrico/Documents/MMORPG/npm-debug.log 
npm ERR! not ok code 0 

ce qui ne va pas avec ce NPM installer? le serveur est-il inaccessible? Une solution de contournement?

Merci à l'avance

Répondre

18

https://twitter.com/addy_osmani/status/234565967101972481 < - voir cette conversation. Je pense que beaucoup de gens ont du mal à aujourd'hui:/

solution: https://github.com/mmalecki/npm-proxy < - NPM proxy

ou de l'utilisation: npm install <module> --registry http://165.225.128.50:8000

+2

(moi y compris) – dougvk

+0

vous pouvez compter sur moi je tentais de mise à jour de NPM. pour environ 2 heures jusqu'à la cloche dans ma tête m'a dit de google ce problème. – GottZ

+0

si triste .. semble que ce registre privé est pressé comme une éponge. – GottZ