Created
August 12, 2012 12:34
-
-
Save streunerlein/3331671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use the npm mirror: | |
npm set registry http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com | |
# you can reset this later with npm set registry npm set registry https://registry.npmjs.org/ | |
# then use it normally: | |
npm install express |
failing to parse json from OSX 10.8 (Mountain Lion) w/ NPM 1.1.45
$ npm install
npm http GET http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt-rigger
npm http GET http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt
npm http 200 http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt
npm ERR! registry error parsing json
npm http 200 http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt-rigger
npm ERR! registry error parsing json
npm http GET http://registry.npmjs.org/-/grunt-0.3.12.tgz
npm http 404 http://registry.npmjs.org/-/grunt-0.3.12.tgz
npm ERR! fetch failed http://registry.npmjs.org/-/grunt-0.3.12.tgz
npm ERR! Error: 404 Not Found
Same for me :
npm http GET http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt
npm http 200 http://ec2-46-137-149-160.eu-west-1.compute.amazonaws.com/grunt
npm ERR! registry error parsing json
You can use this mirror (which fetches the original content from registry.npmjs.org). All modules up to date:
npm set registry http://85.10.209.91/
To reset:
npm set registry http://registry.npmjs.org/
Thanks @tbigueres!
Mirror closed, npm working again.
Hello
I'm also facing this issue very randomly while doing npm install
using a docker file. Can this mirror be made available again, please?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ah it is not found in your repository^^