Skip to content

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

@imlostish

Description

@imlostish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions