electron-userland / electron-spellchecker

Implement spellchecking, correctly
MIT License
238 stars 83 forks source link

spellchecker.node was compiled against a different Node.js version #169

Open sergeyd63 opened 4 years ago

sergeyd63 commented 4 years ago

Using Electron v.8.2.2 electron-spellchecker v.2.2.1

installed node v.13.13.0

get this exception: The module 'Electron\node_modules\@felixrieseberg\spellchecker\build\Release\spellchecker.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 73. 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)

tried rebuilding with electron-rebuild (./node_modules/.bin/electron-rebuild) didn't work

switching allowRendererProcessReuse to true gives error: Error: Loading non-context-aware native module in renderer

any suggestions?

thanks

cstayyab commented 4 years ago

You can solved this issue as described in this comment:

https://github.com/cstayyab/WALC/issues/46#issuecomment-645939211