I'm trying to install the webserver on my Raspberry Pi2, but no luck:
after entering
the next log is generated:
Code: Select all
info it worked if it ends with ok
verbose cli [ '/usr/bin/nodejs',
verbose cli '/usr/bin/npm',
verbose cli 'i',
verbose cli 'nefit-easy-http-server',
verbose cli '-g' ]
info using [email protected]
info using [email protected]
verbose config file /home/pi/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose cache add [ 'nefit-easy-http-server', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args 'nefit-easy-http-server',
silly cache add: name, spec, args [ 'nefit-easy-http-server', null ] ]
verbose parsed url { pathname: 'nefit-easy-http-server',
verbose parsed url path: 'nefit-easy-http-server',
verbose parsed url href: 'nefit-easy-http-server' }
verbose addNamed [ 'nefit-easy-http-server', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'nefit-easy-http-server', '', false ]
verbose raw, before any munging nefit-easy-http-server
verbose url resolving [ 'https://registry.npmjs.org/', './nefit-easy-http-server' ]
verbose url resolved https://registry.npmjs.org/nefit-easy-http-server
http GET https://registry.npmjs.org/nefit-easy-http-server
ERR! Error: failed to fetch from registry: nefit-easy-http-server
ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
ERR! at ClientRequest.g (events.js:156:14)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
ERR! You may report this log at:
ERR! <http://bugs.debian.org/npm>
ERR! or use
ERR! reportbug --attach /home/pi/npm-debug.log npm
ERR!
ERR! System Linux 4.1.17-v7+
ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "nefit-easy-http-server" "-g"
ERR! cwd /home/pi
ERR! node -v v0.6.19
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: nefit-easy-http-server
verbose exit [ 1, true ]
Internet connection is available and the page mentioned after GET does actually exist. Any advice?
Regards,
Niels