Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bun: symbol lookup error: /node_modules/blake2/build/Release/binding.node: undefined symbol: node_module_register #17193

Open
michele-nuzzi opened this issue Feb 8, 2025 · 0 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client napi Compatibility with the native layer of Node.js

Comments

@michele-nuzzi
Copy link

michele-nuzzi commented Feb 8, 2025

What version of Bun is running?

1.1.13

What platform is your computer?

Linux 6.8.0-52-generic x86_64 x86_64

What steps can reproduce the bug?

npm i blake2

use the module in any way
eg:

blake2.createHash('blake2b',{digestLength:28})
.update(Buffer.from(data))
.digest("hex");

I also tried to

bun i blake2

but that only messed up the import

What is the expected behavior?

blake2 works

What do you see instead?

bun: symbol lookup error: /node_modules/blake2/build/Release/binding.node: undefined symbol: node_module_register

Additional information

No response

@michele-nuzzi michele-nuzzi added bug Something isn't working needs triage labels Feb 8, 2025
@RiskyMH RiskyMH added napi Compatibility with the native layer of Node.js bun install Something that relates to the npm-compatible client and removed needs triage labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client napi Compatibility with the native layer of Node.js
Projects
None yet
Development

No branches or pull requests

2 participants