Created
May 22, 2011 17:19
-
-
Save hidenowt/985682 to your computer and use it in GitHub Desktop.
error npm
This file contains hidden or 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
[herminio] rbx-1.2.3 ~ | |
$ nvm ls | |
v0.4.8 | |
stable: v0.4.8 | |
latest: v0.4.8 | |
current: v0.4.8 | |
default -> v0.4.8 | |
# use 'nvm sync' to update from nodejs.org | |
[herminio] rbx-1.2.3 ~ | |
$ node -v | |
v0.4.8 | |
[herminio] rbx-1.2.3 ~ | |
$ rm -rf .npm/ | |
[herminio] rbx-1.2.3 ~ | |
$ curl http://npmjs.org/install.sh | clean=yes sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
101 3874 101 3874 0 0 7390 0 --:--:-- --:--:-- --:--:-- 11132 | |
fetching: http://registry.npmjs.org/npm/-/npm-1.0.6.tgz | |
0.4.8 | |
1.0.6 | |
prefix=/Users/herminio/.nvm/v0.4.8 | |
This script will find and eliminate any shims, symbolic | |
links, and other cruft that was installed by npm 0.x. | |
All clean! | |
! [ -d .git ] || git submodule update --init | |
node cli.js cache clean | |
node cli.js rm npm -g -f --loglevel error | |
node cli.js install -g -f | |
npm ERR! error installing [email protected] Error: ETIMEOUT, Timeout while contacting DNS servers | |
npm ERR! error installing [email protected] at Timer.callback (dns.js:38:13) | |
npm ERR! Error: ETIMEOUT, Timeout while contacting DNS servers | |
npm ERR! at Timer.callback (dns.js:38:13) | |
npm ERR! Report this *entire* log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <[email protected]> | |
npm ERR! | |
npm ERR! System Darwin 10.7.0 | |
npm ERR! command "node" "/private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.50056/package/cli.js" "install" "-g" "-f" | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.50056/package/npm-debug.log | |
npm not ok | |
make: *** [install] Error 12 | |
npm WARN Not installed in /Users/herminio/.nvm/v0.4.8/lib/node_modules npm | |
npm ERR! error installing [email protected] Error: ETIMEOUT, Timeout while contacting DNS servers | |
npm ERR! error installing [email protected] at Timer.callback (dns.js:38:13) | |
npm ERR! Error: ETIMEOUT, Timeout while contacting DNS servers | |
npm ERR! at Timer.callback (dns.js:38:13) | |
npm ERR! Report this *entire* log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <[email protected]> | |
npm ERR! | |
npm ERR! System Darwin 10.7.0 | |
npm ERR! command "/Users/herminio/.nvm/v0.4.8/bin/node" "/private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.50056/package/cli.js" "install" "." "--force" "--global" | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.50056/package/npm-debug.log | |
npm not ok | |
It failed | |
[herminio] rbx-1.2.3 ~ | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment