You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Can't add spellchecker to project because it requires NODE_MODULE_VERSION 85.
When I add it to my project and start the whole thing, I get this message:
App threw an error during load
Error: The module '/Users/user/Documents/Repositories/project/node_modules/spellchecker/build/Release/spellchecker.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 85. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
I tried:
many versions of Node, but according to this list NODE_MODULE_VERSION 85 does not exist at all.
switching from yarn to npm
npm rebuild
Nothing works :(
Can someone help?
The text was updated successfully, but these errors were encountered:
Electron makes changes to node that result in incompatibilities. IIRC, they use a different module version for this reason. But in general, it is unlikely (and fragile) that the node version in use by your app is the same as the one being used to install dependencies.
To fix your error, you need to recompile the module for the version of Electron your app will be running. One way is to configure npm with the appropriate target information. Another is to install and run electron-rebuild, which will configure it for you.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Can't add spellchecker to project because it requires NODE_MODULE_VERSION 85.
When I add it to my project and start the whole thing, I get this message:
I tried:
Nothing works :(
Can someone help?
The text was updated successfully, but these errors were encountered: