Thursday, 26 April 2018

Why wasn't the node_modules packages deleted after I ran this command in the terminal?

for package in `ls node_modules`; do npm uninstall $package; done; According the tutorial, the node_modules folder shouldn't include anything after you delete all the modules except the bin folder but they're all still there. I was doing all of these things in a project folder not globally.

Submitted April 26, 2018 at 03:28PM by ASamir

No comments:

Post a Comment