Tips and tricks
Web Development - How to clean install node_modules
run this in Terminal
rm -rf node_modules/ && rm package-lock.json && npm cache clean --force && npm i --legacy-peer-deps
you are using dropbox, and you do not want the files to sync
rm -rf node_modules/ && mkdir node_modules/ && xattr -w com.dropbox.ignored 1 node_modules/ && rm package-lock.json && npm cache clean --force && npm i --legacy-peer-deps