DEV Community

Discussion on: When npm tells you you're hosed

Collapse
 
themiwi profile image
Michael Wild

I found that deleting node_modules can be slow as hell, at least on Windows. So I usually first rename the directory, start deleting it in the background while simultaneously starting npm install.

Collapse
 
john_papa profile image
John Papa

I may be wrong - but is that because it’s moving to recycle bin? Could you do a permanent delete on windows still?

Collapse
 
themiwi profile image
Michael Wild

Nah, command line user here... Might be our corporate spyware though.πŸ€”