Upon trying to remove the node_modules directory created by npm install
:
The source file name(s) are larger than is su
I think this was not mentioned before. but the best way to delete unwanted node_modules
is to install an utility called npmkill
.
From your terminal:
npm i -g npkill
From your terminal:
npkill
You will then be presented with a list of projects, and by hitting space bar you can delete their node_modules
.