Replies: 1 comment 4 replies
-
We might not be building for that version of electron. But do try the serialport@beta release. That will give you v10 which uses napi and should "just work" |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
This might also be related to other discussions.
Developing a Vscode extension relying on SerialPort when I rebuild the Serialport from scratch to make it fully compatible with Vscode and the embedded Electron version it works fine but not with the binary you provide in your releases, so I was wondering if that is expected.
Here are my vscode settings (latest version I guess)
By downloading your provided binding files (like here), it would give me the following error
dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeEPKNS_9CFunctionEhhh Referenced from: /myproject..../node_modules/@serialport/bindings/build/bindings.node Expected in: flat namespacedyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeEPKNS_9CFunctionEhhh Referenced from: /myproject/node_modules/@serialport/bindings/build/bindings.node Expected in: flat namespace
Then if I built it manually using a command like
electron-rebuild --version=13.5.2
It works like a charm.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions