Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

npm install failed with some modules #4771

Closed
andresgrosso opened this Issue · 6 comments

7 participants

@andresgrosso

Hello guys, this is my first time posting here, and is my first time with nodeJs, so, I'll detaill all the steps.

First at all, I installed underscore, after that I installed detailsift and express.

Then I did:

andresgrossos-MacBook:nodejs andresgrosso$ node_modules/express/bin/express 
destination is not empty, continue? yes

create : .
   create : ./package.json
   create : ./app.js
   create : ./public/stylesheets
   create : ./public/stylesheets/style.css
   create : ./routes
   create : ./routes/index.js
   create : ./routes/user.js
   create : ./views
   create : ./views/layout.jade
   create : ./views/index.jade
   create : ./public/images
   create : ./public/javascripts
   create : ./public

   install dependencies:
     $ cd . && npm install

   run the app:
     $ node app

and when I did the npm install something goes bad, I got some errors fetching information (Here is the log and the npm/nodeJs versions)

andresgrossos-MacBook:nodejs andresgrosso$ npm install
npm http GET https://registry.npmjs.org/jade
npm http 200 https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/jade/-/jade-1.1.5.tgz
npm http 200 https://registry.npmjs.org/jade/-/jade-1.1.5.tgz
npm http GET https://registry.npmjs.org/transformers/2.1.0
npm http GET https://registry.npmjs.org/character-parser/1.2.0
npm http GET https://registry.npmjs.org/commander/2.1.0
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/monocle/1.1.51
npm http GET https://registry.npmjs.org/constantinople
npm http GET https://registry.npmjs.org/with
npm http 200 https://registry.npmjs.org/transformers/2.1.0
npm http GET https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http 200 https://registry.npmjs.org/commander/2.1.0
npm http GET https://registry.npmjs.org/commander/-/commander-2.1.0.tgz
npm http 200 https://registry.npmjs.org/character-parser/1.2.0
npm http GET https://registry.npmjs.org/character-parser/-/character-parser-1.2.0.tgz
npm http 200 https://registry.npmjs.org/monocle/1.1.51
npm http GET https://registry.npmjs.org/monocle/-/monocle-1.1.51.tgz
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/constantinople
npm http GET https://registry.npmjs.org/constantinople/-/constantinople-1.0.2.tgz
npm http 200 https://registry.npmjs.org/with
npm http GET https://registry.npmjs.org/with/-/with-2.0.0.tgz
npm http 503 https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-2.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http 200 https://registry.npmjs.org/character-parser/-/character-parser-1.2.0.tgz
npm http 200 https://registry.npmjs.org/monocle/-/monocle-1.1.51.tgz
npm http 200 https://registry.npmjs.org/constantinople/-/constantinople-1.0.2.tgz
npm http 200 https://registry.npmjs.org/with/-/with-2.0.0.tgz
npm http GET https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http 503 https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http GET https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http 200 https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz
npm http GET https://registry.npmjs.org/readdirp
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/2.4.0
npm http GET https://registry.npmjs.org/promise
npm http GET https://registry.npmjs.org/css
npm http GET https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/uglify-js/2.4.0
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.0.tgz
npm http 200 https://registry.npmjs.org/promise
npm http GET https://registry.npmjs.org/promise/-/promise-2.0.0.tgz
npm http 200 https://registry.npmjs.org/css
npm http GET https://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http 200 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.12.tgz
npm http 200 https://registry.npmjs.org/readdirp
npm http GET https://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm http 200 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.0.tgz
npm http 200 https://registry.npmjs.org/promise/-/promise-2.0.0.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm http 200 https://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.12.tgz
npm http 200 https://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-to-browserify
npm http GET https://registry.npmjs.org/is-promise
npm http GET https://registry.npmjs.org/css-parse/1.0.4
npm http GET https://registry.npmjs.org/css-stringify/1.0.5
npm http 200 https://registry.npmjs.org/uglify-to-browserify
npm http GET https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http GET https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/css-parse/1.0.4
npm http GET https://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 200 https://registry.npmjs.org/is-promise
npm http GET https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http 200 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/css-stringify/1.0.5
npm http GET https://registry.npmjs.org/css-stringify/-/css-stringify-1.0.5.tgz
npm http 200 https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 200 https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http 200 https://registry.npmjs.org/css-stringify/-/css-stringify-1.0.5.tgz
npm http 200 https://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 503 https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 503 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm ERR! fetch failed https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http GET https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 503 https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http 503 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm ERR! fetch failed https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http GET https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm http 503 https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
npm ERR! fetch failed https://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! Error: 503 Service Unavailable
npm ERR!     at WriteStream.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/fetch.js:57:12)
npm ERR!     at WriteStream.EventEmitter.emit (events.js:117:20)
npm ERR!     at fs.js:1598:14
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:105:5
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Applications/XAMPP/xamppfiles/htdocs/www/nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/amdefine
npm http 200 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 503 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 503 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Applications/XAMPP/xamppfiles/htdocs/www/nodejs/npm-debug.log
npm ERR! not ok code 0
andresgrossos-MacBook:nodejs andresgrosso$ npm --version
1.4.3
andresgrossos-MacBook:nodejs andresgrosso$ node --version
v0.10.26
andresgrossos-MacBook:nodejs andresgrosso$

so, someone know what happened?

Thanks all!

@thinkjson

I'm getting the same thing, even with the European mirror. It looks like it gets most things from the eu mirror, but as soon as a library is missing and it falls back to npmjs.org, I get this error:

npm http 503 http://registry.npmjs.org/q/-/q-0.9.7.tgz
npm ERR! fetch failed http://registry.npmjs.org/q/-/q-0.9.7.tgz
npm ERR! Error: 503 Service Unavailable
npm ERR!     at WriteStream.<anonymous> (/Users/markcahill/.nvm/v0.10.15/lib/node_modules/npm/lib/utils/fetch.js:57:12)
npm ERR!     at WriteStream.EventEmitter.emit (events.js:117:20)
npm ERR!     at fs.js:1596:14
npm ERR!     at /Users/markcahill/.nvm/v0.10.15/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:103:5
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/Users/markcahill/.nvm/v0.10.15/bin/npm" "--registry" "http://registry.npmjs.eu/" "update"
npm ERR! cwd /Users/markcahill/Documents/code/html-console
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.3.20
@kane-thornwyrd

@domenic I think this one too.

@Giggal

Hi,
I am getting the same error
npm ERR! fetch failed https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.12.tgz

@kane-thornwyrd

@Giggal is this still the case ?
I think there is a running issue with their Varnish servers.

@rvanbaalen

@kane-thornwyrd It's still an issue here anyway I get this when installing grunt-contrib-sass:

Error: 503 Service Unavailable
@othiym23
Owner

I believe this was due to a transient problem with our package registry. If you encounter it again, please open a new issue and let us know. Sorry for the inconvenience!

@othiym23 othiym23 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.