isaacs/npm — Issue #2008: npm rm fails to remove package linked by npm link
Author: idearat
Created: 2012-01-08 04:13:52+00:00
State: open

Seems like there's still an issue trying to work with a local package (built via npm init) when linking and then trying to remove the linked entries. It has to be done manually :(.

minime [develop] .../local/src/TPI/TIBET $ npm --version
1.0.106
minime [develop] .../local/src/TPI/TIBET $ npm link
/Users/idearat/.nvm/v0.4.5/bin/tibet -> /Users/idearat/.nvm/v0.4.5/lib/node_modules/TIBET/bin/tibet
/Users/idearat/.nvm/v0.4.5/lib/node_modules/TIBET -> /Volumes/Crucial/TPI/TIBET
minime [develop] .../local/src/TPI/TIBET $ npm rm
npm WARN Not installed in /Volumes/Crucial/TPI/TIBET/node_modules TIBET
minime [develop] .../local/src/TPI/TIBET $ npm rm -r
npm WARN invalid config registry=true
npm WARN invalid config Must be a full url with 'http://'
npm WARN Not installed in /Volumes/Crucial/TPI/TIBET/node_modules TIBET
minime [develop] .../local/src/TPI/TIBET
$