Closed nasushkov closed 3 years ago
Hey there, is the commit https://github.com/connor4312/blake3/commit/9f69ead596225cdef5a7c7eb81b0dd2d8e5e3686 still not thoroughly working to deserve an actual v2.1.5 release? With v2.1.4, I'm still getting these:
$ npm i --update-binary
> deasync@0.1.21 install /home/bobby/src/chibisafe/node_modules/deasync
> node ./build.js
`linux-x64-node-12` exists; testing
Binary is fine; exiting
> bcrypt@5.0.0 install /home/bobby/src/chibisafe/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[bcrypt] Success: "/home/bobby/src/chibisafe/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote
> blake3@2.1.4 install /home/bobby/src/chibisafe/node_modules/blake3
> node -e "try{require('./dist/build/install')}catch(e){}"
API version for node@v12.20.1 linux not explicitly built, falling back to latest. If this does not work, open an issue at https://github.com/connor4312/blake3/issues/new
Retrieving native BLAKE3 bindings for Node v12 on linux...
Error trying to import bindings: Error: /home/bobby/src/chibisafe/node_modules/blake3/dist/native.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeEPKNS_9CFunctionE
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at /home/bobby/src/chibisafe/node_modules/blake3/dist/build/install.js:51:13
at Generator.next (<anonymous>)
at fulfilled (/home/bobby/src/chibisafe/node_modules/blake3/dist/build/install.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
BLAKE3 will use slower WebAssembly bindings when required in Node.js
...
Hi I'm using this library in my project and it works well. However, when I try to build a docker image from my Dockerfile I receive the following error:
My Dockerfile is:
I tried installing the required packages like so:
Although the initial error disappears, now it fails with another error:
Is there any workaround for this or maybe there is an image that works out of the box?
Thanks, Nikita