Closed PiotrekPKP closed 1 year ago
I've been encountering the same issue with bcrypt + turborepo + pnpm for some time now and found no suitable solution so far. I am currently considering replacing bcrypt with an alternative library due to this persistent problem.
I've been encountering the same issue with bcrypt + turborepo + pnpm for some time now and found no suitable solution so far. I am currently considering replacing bcrypt with an alternative library due to this persistent problem.
May I know what alternative library you're using?
I've been encountering the same issue with bcrypt + turborepo + pnpm for some time now and found no suitable solution so far. I am currently considering replacing bcrypt with an alternative library due to this persistent problem.
May I know what alternative library you're using?
I’m considering to use crypto.pbkdf2
. I’m not sure if there is a ready to use solution, so you might have to write your own function depending on the use case.
I've been encountering the same issue with bcrypt + turborepo + pnpm for some time now and found no suitable solution so far. I am currently considering replacing bcrypt with an alternative library due to this persistent problem.
May I know what alternative library you're using?
I’m considering to use
crypto.pbkdf2
. I’m not sure if there is a ready to use solution, so you might have to write your own function depending on the use case.
thanks! i wrote a small script that basically removes node_modules/bcrypt
every time you install something but i'm getting really tired of it haha
bcrypt does not work with bundlers; neither do any native libraries. They depend on shared libraries (lib/main/bcrypt.so in our case) in specified locations. If it cannot find, because your tool plays around with node_modules
location, it fails
@asobirov adding public-hoist-pattern[]=*bcrypt*
works!!!
Installation with existing
node_modules
directory fails withCannot find module '../lib/main'
Hello :)
I'm encountering an issue with the
bcrypt
package. I have a turborepo monorepo with anapi
package and other apps. The package depends onbcrypt
. Every time I want to add a new dependency to any app/package I have to remove the rootnode_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.