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.
I'm getting an error message in console Uncaught Error: Loading non-context-aware native module in renderer
If use a workaround provided by electron to be possible to use currently such modules, it replaces with warning: (node:15876) Electron: Loading non-context-aware native module in renderer
But in Electron 11 this workaround will be removed by Electron and usage of spellchecker module will be impossible
Also during module installation I'm getting such warnings:
..\src\worker.cc(38): warning C4996: 'v8::Object::Set': was declared deprecated
[C:\Spellchecker-sample\Electron-samples\node_modules\spellchecker\build\spellchecker.vcxproj]
c:\users\me\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3499): note: see declaration of 'v8::Object::Set'
The text was updated successfully, but these errors were encountered:
Description
I'm getting an error message in console Uncaught Error: Loading non-context-aware native module in renderer
If use a workaround provided by electron to be possible to use currently such modules, it replaces with warning: (node:15876) Electron: Loading non-context-aware native module in renderer
But in Electron 11 this workaround will be removed by Electron and usage of spellchecker module will be impossible
Steps to Reproduce
https://github.com/Sergey-Churilin/Electron-samples/tree/spellchecker-sample
Expected behavior:
No error or warnings in console, application should work
Actual behavior:
If not to use a workaround, application doesn't work correctly
Reproduces how often:
100%
Versions
Node version: 12.16.1
Additional Information
Discussions about how the issue can be solved: electron/electron#18397
Also during module installation I'm getting such warnings:
..\src\worker.cc(38): warning C4996: 'v8::Object::Set': was declared deprecated
[C:\Spellchecker-sample\Electron-samples\node_modules\spellchecker\build\spellchecker.vcxproj]
c:\users\me\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3499): note: see declaration of 'v8::Object::Set'
The text was updated successfully, but these errors were encountered: