isaacs/npm — Issue #1997: updated to node v0.6.0, npm appears to be broken
Author: couch
Created: 2012-01-05 22:43:41+00:00
State: open

When I try to perform any command with npm: `-v`, `install`, `update`, I receive an error:

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object. (/usr/local/lib/node_modules/npm/lib/utils/config-defs.js:5:21)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/usr/local/lib/node_modules/npm/lib/utils/ini.js:41:18)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)

If I try uninstalling npm via `sudo npm uninstall`, I receive the following output:

Preparing Uninstall...
Uninstall Began...
Uninstall Failed...
Reason: ErrorMissingBundle

Not sure how to resolve this, any help would be appreciated.