Closed Bug 955856 Opened 11 years ago Closed 11 years ago

Error on "npm install"

Categories

(Marketplace Graveyard :: Reference Apps, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: matthias.hoeffken, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
Build ID: 20131206152142

Steps to reproduce:

Tried to build the app "Podcast" - high-fidelity accoding to its readme file


Actual results:

When calling

> npm install

I got the following error message:

npm http GET https://registry.npmjs.org/less-middleware
npm http GET https://registry.npmjs.org/po2json/0.0.6
npm http GET https://registry.npmjs.org/requirejs/2.1.5

npm ERR! Error: failed to fetch from registry: less-middleware
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.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/otto/src/javascript/firefoxOS/high-fidelity/npm-debug.log npm
npm ERR! 
npm ERR! System Linux 3.2.0-57-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/otto/src/javascript/firefoxOS/high-fidelity
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: less-middleware
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/otto/src/javascript/firefoxOS/high-fidelity/npm-debug.log
npm not ok





Expected results:

building the firefox app
OS: All → Linux
Hardware: All → x86_64
That looks like like npm was having issues which can happen from time to time. I just tried this and it worked for me (as far as installing the deps with 'npm install').
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.