alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

How to uninstall/remove an installed package? #92

Closed aztack closed 8 years ago

aztack commented 8 years ago

I installed gulp-sass with ied, but failed to rebuild node-sass. Now I want to remove gulp-sass completely. Is there a command for doing that? Thanks.

just-boris commented 8 years ago

you can remove ./node_folders/gulp-sass. Then you can try to install it again.

But be aware that you can't mix node_modules installed with NPM and IED in the same directory. So the most reliable way is removing entire node_modules dir and start a new installation from the scratch.

alexanderGugel commented 8 years ago

Removing packages just got easier. ied now traverses the entire dependency graph and detects removed sub-dependencies. rm -rf node_modules/some-package will work as a dream.

BTW: If you want to rebuild your dependencies, you probably want to use ied i --build.