Remove and reinstall your dependencies.
- Cross-platform support.
- Works from any directory.
- More reliable than
- Includes nested dependencies, too.
- Quick to type and easy to use.
- Removes safely (cannot
rm -rf /).
npm does a much better job creating a dependency tree from scratch than modifying an existing one without breaking anything. By reinstalling
node_modules, you put yourself in a more well-known, consistent state.
This project works around many bugs:
Please add your own bugs to the list!
npm install fresh-cli --global
$ fresh --helpUsage$ fresh [cwd]Example$ fresh$ fresh my-project
See our contributing guidelines for more details.
- Fork it.
- Make a feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.
Go make something, dang it.