Add to .gitignore:
.cache
.npm
node_modules
In the Terminal:
rm -rf .npm
rm -rf .cache
rm -rf node_modules
git prune
git gc
refresh
Note!! pnpm will not understand ci and will pass it to npm directly, and you will end up with locally-installed npm modules that contribute to your quota. refresh will trigger the editor refresh, pnpm to prune & install, and the app to restart.