Is there a way to revert pnpm back to normal?


#1

My pnpm is kinda broken, so I wanted to know if there is a way to revert all the packages and node_modules folder back to normal, making it look like you just installed it again.


#2

Hi :slight_smile: You can do rm -rf node_modules/* node_modules/.*, and then run enable-pnpm. It should run the install step again.


#3

Thank you so much! Sometimes there are ERROR EINVAL: invalid argument, readlink '/rbd/pnpm-volume/063a7561-bd6b-484a-aa5c-baca4cadbe7b/node_modules/bindings' errors in console (not always this package) this fixes it :slight_smile: