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

Fails on node 10.4.0 - 10.6.0 with symbol lookup error: [...] undefined symbol: napi_create_bigint_words #24

Open
davidmurdoch opened this issue Apr 24, 2020 · 0 comments

Comments

@davidmurdoch
Copy link

BigInt was introduced in node 10.4.0 (which uses V8 v6.7), which is why I started testing at this version.

Test run output:

david @ ~/work/bigint-buffer (master)
└─ $ ▶ npm run test:node

> [email protected] test:node /home/david/work/bigint-buffer
> mocha -r ts-node/register src/**/*.spec.ts --timeout 40000



  Try buffer conversion (little endian)
/home/david/.nvm/versions/node/v10.6.0/bin/node: symbol lookup error: /home/david/work/bigint-buffer/build/Release/bigint_buffer.node: undefined symbol: napi_create_bigint_words
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] test:node: `mocha -r ts-node/register src/**/*.spec.ts --timeout 40000`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] test:node script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/david/.npm/_logs/2020-04-24T00_49_18_551Z-debug.log

Node versions 10.4.0, 10.4.1, 10.5.0, and 10.6.0 all fail. It does work on 10.7.0 and up.

The project's package.json "engines" section is:

"engines": {
  "node": ">= 10.0.0"
}

Would you like a PR updating the engines section to reflect the actual working node versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant