npm ERR! Error: failed to fetch from registry: express
root@ubuntu:/home/sysdocu/node_root# npm install -g express
npm http GET https://registry.npmjs.org/express
npm http 408 https://registry.npmjs.org/express
npm ERR! registry error parsing json
npm ERR! Error: failed to fetch from registry: express
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:153:14)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:525:16)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/main.js:484:14)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:137:23)
npm ERR! at CleartextStream.ondata (http.js:1150:24)
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/sysdocu/node_root/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.0-29-generic-pae
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "express"
npm ERR! cwd /home/sysdocu/node_root
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: express
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sysdocu/node_root/npm-debug.log
npm not ok
root@ubuntu:/home/sysdocu/node_root#
위와 같은 에러 메세지 출력시 아래 명령 이후 다시 설치시도를 해봅니다.
root@ubuntu:/home/sysdocu/node_root# npm config set registry http://registry.npmjs.org/
'리눅스 > APACHE' 카테고리의 다른 글
node.js iconv 모듈 에러 (0) | 2015.01.16 |
---|---|
node.js 설치시 path 설정 (0) | 2015.01.16 |
우분투 APM 설치 (0) | 2015.01.16 |
lingerd 설치 (libhttpd.ep 부하 방지) (0) | 2015.01.16 |
[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed (0) | 2015.01.16 |