A small command-line utility to reliably delete node_modules
on Windows, in case you're having troubles with long paths.
- Make sure you have node.js installed.
- Run
npm install -g nukem
from the command line.
Run nukem
in any directory that has node_modules
in it, and nukem will get rid of it. There is no configuration, confirmation or anything else - you just run the command, and end up with no node_modules
as a result. If node_modules
isn't found, nukem will exit without doing anything.