Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.08 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.08 KB

Spellchecking Demo

This demo uses the spellchecker node module which maps through to native spelling APIs on Mac, Windows, and Linux. This module needs to be compiled since it runs native code, and it's important that you compile it for the version of Electron you are using. With apm installed you can run the commands below. See the instructions here for more information.

export ATOM_NODE_VERSION=0.26.0
cd spellchecking
apm install .

If you do this wrong, you'll see one of these two messages in the console:

[37332:0514/214811:INFO:CONSOLE(134)] "Uncaught Error: Module version mismatch. Expected 43, got 41.", source: ATOM_SHELL_ASAR.js (134)

---> You compiled the module against the wrong version of Electron.
[37617:0514/215117:INFO:CONSOLE(134)] "Uncaught Error: Module did not self-register.", source: ATOM_SHELL_ASAR.js (134)

---> You compiled the module using `npm` not `apm`, or it otherwise couldn't be loaded into Electron.