I’m trying to build a version of the Node bindings to use in Electron 13, running
NODE_ABI_TARGET=--target=13.1.4 NODE_DIST_URL=--disturl=https://electronjs.org/headers NODE_RUNTIME=--runtime=electron NODE_DEVDIR=--devdir=headers/electronjs make -C native_client/javascript build
but in the Electron project I keep getting an error about NODE_MODULE_VERSION
The module '{path}/node_modules/deepspeech/lib/binding/v0.10.0-alpha.3/darwin-x64/electron-v13.1/deepspeech.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 79. This version of Node.js requires
NODE_MODULE_VERSION 89. Please try re-compiling or re-installing
I’m not sure how to compile it so that I get a version using the correct NODE_MODULE_VERSION
of 89