npm install --registry http://registry.npmjs.org packagename
This will update your .npmrc to include the following line registry = http://registry.npmjs.eu/
npm config set registry http://registry.npmjs.eu
npm publish --registry http://registry.nodejs.org
"publishConfig": {
"registry":"http://registry.npmjs.org/"
}
http://registry.npmjs.eu/ doesn't work :(