`bcrypt` fails on installation with `node_modules`
Installation with existing
node_modules
directory fails with Cannot find module '../lib/main'
Hello š
I'm encountering an issue with the bcrypt
package. I have a turborepo/monorepo with an api
package and other apps. The package depends on bcrypt
. Every time I want to add a new dependency to any app/package I have to remove the root node_modules
folder and only then can I install it - reinstallation / adding a new package causes the error below:
Indeed, the lib/main
file does not exist.0 Replies