bartosz-antosik / vscode-spellright

Multilingual, Offline and Lightweight Spellchecker for Visual Studio Code
Other
359 stars 36 forks source link

"Cannot read properties of null" error in VS Code v1.78 #549

Closed craigtp closed 3 months ago

craigtp commented 1 year ago

VS Code updated to Electron 22 and this bug is now happening again. https://code.visualstudio.com/updates/v1_78#_electron-22-update

Version: 1.78.0 (user setup) Commit: 252e5463d60e63238250799aef7375787f68b4ee Date: 2023-05-03T20:09:00.748Z Electron: 22.4.8 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: No

[error] TypeError: Cannot read properties of null (reading 'Spellchecker')
    at Object.<anonymous> (c:\Users\username\.vscode\extensions\ban.spellright-3.0.112\lib\bindings.js:46:25)

Originally posted by @reduckted in https://github.com/bartosz-antosik/vscode-spellright/issues/513#issuecomment-1533914159

reduckted commented 1 year ago

I believe this had been fixed in the latest version.

powerunlimited commented 10 months ago

Seems like it is happening again with v1.82.0

Nummer42O commented 3 months ago

Happening too for me.

Version info: Version: 1.88.0 Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c Date: 2024-04-03T13:25:57.039Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Linux x64 5.15.0-101-generic

bartosz-antosik commented 3 months ago

Hi! The extension binary dependencies, root cause of the above, has been updated. It took far more than usually/expected mainly because of some nasty bug in nan (https://github.com/nodejs/nan/issues/936#issuecomment-1961938183). Never mind, should work for now.