Created
April 30, 2019 22:51
-
-
Save sethuster/aca00c424aa3d30a56a8c08a638f0b73 to your computer and use it in GitHub Desktop.
Node Nuker script to automatically destroy node_modules and reinstall.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "Removing node_modules directory" | |
rm -rf node_modules | |
echo -e "Removing package-lock.json" | |
rm package-lock.json | |
echo -e "Reinstalling modules" | |
npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment