isaacs/fstream — Issue #5: NPM uninstall error with fstream as a dependency
Author: rrjamie
Created: 2012-03-10 01:42:25+00:00
State: open

I just ran in to this after upgrading to node 0.6.12.

If we have a project with fstream as a dependency:

{
"name": "test",
"version": "1.0.0",
"dependencies": {
"fstream": "0.1.11"
},
"engine": "node 0.6.2"
}

Then (works):

npm -g install .

Then (all kinds of fail):

sudo npm -g uninstall test

Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/test/node_modules/fstream/examples/path/to'