16 EKİM 2012, Salı
&; mesaj herhangi bir modülü yüklemek için çalışırken kayıt" fetch için başarısız oldu;"
Bu etmesinin önünü herhangi bir düğüm modülü yüklemek istemiyorum.
npm install socket.io
Yukarıdaki komutu aşağıdaki çıkışı gerçekleşmiştir, yuva yüklemek mümkün değildir.ıo
npm http GET https://registry.npmjs.org/socket.io
npm ERR! Error: failed to fetch from registry: socket.io
npm ERR! at /opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:32:9)
npm ERR! at Request._callback (/opt/node0610/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:137:18)
npm ERR! at Request.callback (/opt/node0610/lib/node_modules/npm/node_modules/request/main.js:109:22)
npm ERR! at Request.<anonymous> (/opt/node0610/lib/node_modules/npm/node_modules/request/main.js:198:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest.<anonymous> (/opt/node0610/lib/node_modules/npm/node_modules/request/main.js:195:10)
npm ERR! at ClientRequest.emit (events.js:67:17)
npm ERR! at CleartextStream.<anonymous> (http.js:1134:11)
npm ERR! at CleartextStream.emit (events.js:67:17)
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR!
npm ERR! System Linux 2.6.18-194.el5
npm ERR! command "node" "/opt/node0610/bin/npm" "install" "socket.io"
npm ERR! cwd /opt/node0610/lib/node_modules
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! message failed to fetch from registry: socket.io
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/node0610/lib/node_modules/npm-debug.log
npm not ok
Etmesinin önünü benim Sürüm değil
[applmgr@dev node_modules]$ npm --version
1.1.0-3
NodeJS benim Sürüm değil
[applmgr@dev node_modules]$ node --version
v0.6.10
CEVAP
29 EKİM 2012, PAZARTESİ
https://github.com/isaacs/npm/issues/2119
Komutu çalıştırmak için aşağıda vardı:
npm config set registry http://registry.npmjs.org/
Ancak, bu npm
güvensiz bir HTTP bağlantısı üzerinden paketleri yükleme yapmak. Eğer yapabiliyorsan, yapmalısın
npm config set registry https://registry.npmjs.org/
HTTPS üzerinden yüklemek yerine.
Bunu Paylaş:
Hata alıyorum: PostgreSQL raylar için ...
SLF4J: class " yüklemek için Başar...
SLF4J: class " yüklemek için Başar...
Hata gösterir "stil için metin al...
numarasını: ÖNEMLİ: kullanıcı "is...