Last active
July 13, 2020 02:25
-
-
Save isaobushi/0f47bd001f9ba38b61d690f970a57bef to your computer and use it in GitHub Desktop.
Check Memory of/and Clean node_modules
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
**Check how much memory | |
find . -name "node_modules" -type d -prune | xargs du -chs | |
- example output: | |
252M ./jotto-hooks/node_modules | |
410M ./tempBin/refugee-job-search-frontend-user/node_modules | |
415M ./Magic-League/node_modules | |
72M ./legal-block-backend/node_modules | |
17G total | |
DELETE all node_modules | |
find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment