Error installing modules on raspberry pi

71 views
Skip to first unread message

leot...@gmail.com

unread,
Aug 23, 2014, 12:13:13 PM8/23/14
to nod...@googlegroups.com
Hi.
i have installed npm and node on my raspberry pi, but when i try to install modules i keep getting errors..

pi@raspberrypi ~/server $ npm install telldus-core-js
npm http GET https:/
/registry.npmjs.org/telldus-core-js

npm ERR
! Error: failed to fetch from registry: telldus-core-js
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:136:18)
npm ERR
!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR
!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR
!     at Request.emit (events.js:88:20)
npm ERR
!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR
!     at ClientRequest.g (events.js:156:14)
npm ERR
!     at ClientRequest.emit (events.js:67:17)
npm ERR
!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
npm ERR
! You may report this log at:
npm ERR
!     <http://bugs.debian.org/npm>
npm ERR
! or use
npm ERR
!     reportbug --attach /home/pi/server/npm-debug.log npm
npm ERR
!
npm ERR
! System Linux 3.12.22+
npm ERR
! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "telldus-core-js"
npm ERR
! cwd /home/pi/server
npm ERR
! node -v v0.6.19
npm ERR
! npm -v 1.1.4
npm ERR
! message failed to fetch from registry: telldus-core-js
npm ERR
!
npm ERR
! Additional logging details can be found in:
npm ERR
!     /home/pi/server/npm-debug.log
npm
not ok


pi@raspberrypi ~/server $ sudo npm install openzwave
npm http GET https:/
/registry.npmjs.org/openzwave

npm ERR
! Error: failed to fetch from registry: openzwave
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:136:18)
npm ERR
!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR
!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR
!     at Request.emit (events.js:88:20)
npm ERR
!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR
!     at ClientRequest.g (events.js:156:14)
npm ERR
!     at ClientRequest.emit (events.js:67:17)
npm ERR
!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
npm ERR
! You may report this log at:
npm ERR
!     <http://bugs.debian.org/npm>
npm ERR
! or use
npm ERR
!     reportbug --attach /home/pi/server/npm-debug.log npm
npm ERR
!
npm ERR
! System Linux 3.12.22+
npm ERR
! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "openzwave"
npm ERR
! cwd /home/pi/server
npm ERR
! node -v v0.6.19
npm ERR
! npm -v 1.1.4
npm ERR
! message failed to fetch from registry: openzwave
npm ERR
!
npm ERR
! Additional logging details can be found in:
npm ERR
!     /home/pi/server/npm-debug.log
npm
not ok


basicly its like that for every module i try to install.

Reply all
Reply to author
Forward
0 new messages