delete all node modules windows code example
Example 1: delete all node module
npx npmkill
//hit space bar to confirm
Example 2: remove node_modules folder mac
Open your terminal.
Browse to your master project directory or the top level of where you have a bunch of projects stored.
Run the command: find . -name "node_modules" -type d -prune -exec rm -rf '{}' +