npm / fstream

Advanced FS Streaming for Node
ISC License
208 stars 43 forks source link

NPM uninstall error with fstream as a dependency #5

Open rrjamie opened 12 years ago

rrjamie commented 12 years ago

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'
logicalparadox commented 12 years ago

Any word on this? I have been getting the same error but it happens on install. Specifcally, node-gyp.

Node v0.6.13 (and v0.6.12), npm 1.1.9.

/cc @TooTallNate

logicalparadox commented 12 years ago

Update: was able to work around this by going in and deleting node-gyp/fstream manually from my global node_modules and reinstalling from scratch. I'm not sure if this will happen again when needing to update next time around.