Skip to content

Instantly share code, notes, and snippets.

@mape
Created July 31, 2010 18:45
Show Gist options
  • Select an option

  • Save mape/502481 to your computer and use it in GitHub Desktop.

Select an option

Save mape/502481 to your computer and use it in GitHub Desktop.
mape@dunderklumpen:~$ npm ls installed | awk -F @ '{print $1}' | xargs sudo npm install
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'ls', 'installed' ]
npm version 0.1.21
npm GET /
npm ok
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'install', 'Nothing', 'found' ]
npm version 0.1.21
npm install pkg Nothing
npm fetch data Nothing
npm GET Nothing
npm ! Error: not_found document not found
at IncomingMessage.<anonymous> (/home/mape/.node_libraries/.npm/npm/0.1.21/package/lib/utils/registry/request.js:79:45)
at IncomingMessage.emit (events:43:20)
at HTTPParser.onMessageComplete (http:107:23)
at Client.ondata (http:871:22)
at IOWatcher.callback (net:517:29)
at node.js:267:9
npm failure try running: 'npm help install'
npm failure Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm failure or email it to <npm-@googlegroups.com>
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment