Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot find module 'bcrypto.node' #13720

Open
vedantroy opened this issue Sep 4, 2024 · 0 comments · May be fixed by #17221
Open

Cannot find module 'bcrypto.node' #13720

vedantroy opened this issue Sep 4, 2024 · 0 comments · May be fixed by #17221
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@vedantroy
Copy link

What version of Bun is running?

1.1.21+70ca2b76c

What platform is your computer?

Linux 6.1.0-23-cloud-amd64 x86_64 unknown

What steps can reproduce the bug?

import { shuffle } from "@faustbrian/node-deterministic-array-shuffle";
shuffle(42, [1, 2, 3])

What is the expected behavior?

This does not happen:

153 | function moduleError(name) {
154 |   const err = new Error(`Cannot find module '${name}'`);
                    ^
error: Cannot find module 'bcrypto.node'
 code: "MODULE_NOT_FOUND"

      at moduleError 

What do you see instead?

See above.

Additional information

No response

@vedantroy vedantroy added bug Something isn't working needs triage labels Sep 4, 2024
@RiskyMH RiskyMH added bun install Something that relates to the npm-compatible client and removed needs triage labels Feb 10, 2025
@RiskyMH RiskyMH linked a pull request Feb 10, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants