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

bignum not working #11171

Closed
mgpai22 opened this issue May 18, 2024 · 2 comments
Closed

bignum not working #11171

mgpai22 opened this issue May 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mgpai22
Copy link

mgpai22 commented May 18, 2024

What version of Bun is running?

v1.1.8

What platform is your computer?

docker

What steps can reproduce the bug?

Trying to run the bpp branch using bun run start.js

Get this error:

 107 |         return opts[p] || p;
 108 |       })
 109 |     );
 110 |     tries.push(n);
 111 |     try {
 112 |       b = opts.path ? requireFunc.resolve(n) : requireFunc(n);
                                                      ^
 TypeError: /app/node_modules/bignum/build/Release/bignum.node: undefined symbol: _ZN2v814ObjectTemplate21SetInternalFieldCountEi
       at bindings (/app/node_modules/bindings/bindings.js:112:48)
       at /app/node_modules/bignum/index.js:1:5
       at /app/lib/algoProperties.js:1:5
       at /app/lib/index.js:5:1
       at /app/start.js:1:5

 Bun v1.1.8 (Linux x64 baseline)

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@mgpai22 mgpai22 added the bug Something isn't working label May 18, 2024
@Electroid
Copy link
Contributor

It looks like bignum uses the V8 C++ APIs, which Bun does not yet support.

@Electroid
Copy link
Contributor

Duplicate of #4290

@Electroid Electroid marked this as a duplicate of #4290 May 20, 2024
@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants