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

[Bug Report] spellchecker.node was compiled against a different Node.js version #46

Closed
Zzombiee2361 opened this issue Jun 18, 2020 · 2 comments

Comments

@Zzombiee2361
Copy link
Collaborator

Describe the bug
Got this error on devtools console

The module 'WALC/node_modules/@felixrieseberg/spellchecker/build/Release/spellchecker.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

Running npm rebuild or npm install has no effect. I have nodejs v12.18.1.
process.versions.node returns "12.13.0", possibly source of the problem?

WALC Installation Type: Compiled from master branch

To Reproduce
Steps to reproduce the behavior:

  1. npm start
  2. Open devtools
  3. See error above
@Zzombiee2361 Zzombiee2361 added the bug Something isn't working label Jun 18, 2020
@cstayyab
Copy link
Collaborator

That's not a bug. You just need to recompile the package according to your node version as described in this stack overflow answer:

https://stackoverflow.com/a/52796884/7337013

@Zzombiee2361
Copy link
Collaborator Author

You're right, works now.

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

2 participants