isaacs/npm — Issue #1995: NPM self-destructed on error
Author: gsmcwhirter
Created: 2012-01-05 21:09:26+00:00
State: open

I attempted a "npm update -g" today not remembering that one module had a permissions error. NPM@1.0.106 on node v0.6.5 correctly errored out with the log "1" at https://gist.github.com/1567273

When I went to do a "sudo npm update -g" afterwards (and anything involving npm now), I get the error at log "2" at the same gist url.

I will just reinstall npm manually to fix it, but I figured this is probably an actual problem.