Skip to content

Files

Latest commit

316d8fa · May 21, 2016

History

History
This branch is 12 commits behind hokein/electron-sample-apps:master.

spell-check

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2016
May 21, 2016
May 21, 2016
May 21, 2016
May 21, 2016
May 21, 2016

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.