Skip to content

Instantly share code, notes, and snippets.

@benreesman
Created October 4, 2010 17:02
Show Gist options
  • Save benreesman/610052 to your computer and use it in GitHub Desktop.
Save benreesman/610052 to your computer and use it in GitHub Desktop.
continuity:node ben$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 338 100 338 0 0 1695 0 --:--:-- --:--:-- --:--:-- 6145
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 572k 100 572k 0 0 236k 0 0:00:02 0:00:02 --:--:-- 409k
node cli.js cache clean
npm info it worked if it ends with ok
npm info using npm@0.2.3-4
npm ok
node cli.js rm npm
npm info it worked if it ends with ok
npm info using npm@0.2.3-4
npm info not installed npm
npm ok
node cli.js install npm
npm info it worked if it ends with ok
npm info using npm@0.2.3-4
npm ERR! Error: ucs {bad_utf8_character_code}: npm
npm ERR! at IncomingMessage.<anonymous> (/usr/local/node/npm-2212/lib/utils/registry/request.js:95:19)
npm ERR! at IncomingMessage.emit (events:41:20)
npm ERR! at HTTPParser.onMessageComplete (http:112:23)
npm ERR! at Client.onData [as ondata] (http:903:27)
npm ERR! at IOWatcher.callback (net:499:29)
npm ERR! at node.js:599:9
npm not ok
It worked
continuity:node ben$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment