electron-userland / electron-spellchecker

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

Undefined symbol errors on Ubuntu 18.04 #146

Closed kanishk98 closed 5 years ago

kanishk98 commented 5 years ago

There are no errors printed to the console when running npm install for this module, but running my app gives me the following error on start:

/home/kanishk/Documents/GitHub/zulip-desktop/node_modules/electron/dist/electron --type=renderer --force-color-profile=srgb --no-sandbox --disable-gpu-compositing --service-pipe-token=FFEFD87D4AAF7E6B50A57A68F3008219 --lang=en-GB --app-path=/home/kanishk/Documents/GitHub/zulip-desktop/app --node-integration=false --webview-tag=true --no-sandbox --preload=/home/kanishk/Documents/GitHub/zulip-desktop/app/renderer/js/preload.js --background-color=#fff --guest-instance-id=1 --enable-blink-features --disable-blink-features --num-raster-threads=2 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=FFEFD87D4AAF7E6B50A57A68F3008219 --renderer-client-id=6 --shared-files=v8_context_snapshot_data:100,: symbol lookup error: /home/kanishk/Documents/GitHub/zulip-desktop/app/node_modules/@felixrieseberg/spellchecker/build/Release/spellchecker.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE

I checked this both on versions 2.0.2 and 1.1.2.

kanishk98 commented 5 years ago

Looks like the error doesn't appear when the app is packaged. That's okay with me for now, so I'll close the issue.