node-rs icon indicating copy to clipboard operation
node-rs copied to clipboard

Module '@node-rs/bcrypt-wasm32-wasi' not found in nextjs 15 with bun

Open lostish opened this issue 10 months ago • 0 comments

I installed @node-rs/bcrypt to my project to replace bcryptjs and @types/bcryptjs, as I was interested in how much faster it is than bcryptjs. But I get this error:

Module not found: unable to resolve '@node-rs/bcrypt-wasm32-wasi'.
> 1 | export * from '@node-rs/bcrypt-wasm32-wasi'.

and I have checked the other topics, but I am confused if the solution mentioned in #792 can be applied in the bun environment or if @node-rs/bcrypt can be used with bun correctly.

I would appreciate your help.

lostish avatar Jan 27 '25 21:01 lostish