Q:

how to delete node_modules

# Do the below steps -
# Make .gitignore file.
# Run below commands in your terminal

git rm -r --cached node_modules

git commit -am "node_modules be gone!"

git push origin master
6
rm -rf node_modules/
npm install
0
npm uninstall -g webpack
npm uninstall webpack
1
npm uninstall node_module_name
2

New to Communities?

Join the community