Incompatibility with node-serialport (bindings.node initialization failed)
See original GitHub issue-
Version: 20.38.5
-
Target: Windows
-
@serialport/bindings version v2.0.7
I’m using proton-native, which integrates with electron-builder, and initially filed an issue there, but the author said to file an issue here instead.
Please see the issue https://github.com/kusti8/proton-native/issues/196 for screenshots of the error.
There is an example project here: https://github.com/kfatehi/proton-native-serialport-issue
After npm install
just run npm run dist
to create the broken exe reproducing the error.
I also cross-posted in a comment on node-serialport and got a response indicating that serialport project plans to switch to N-API in April, which may be the proper solution to this issue.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
javascript - node module version conflict when installing ...
When this type of version mismatch occurs, you can either choose an electron distribution with the target Node version or rebuild the npm...
Read more >Installing SerialPort
The @serialport/bindings-cpp package uses prebuildify-cross to build ... during the npm install via node-gyp v7 which requires Python 2.x, ...
Read more >Node.js v19.3.0 Documentation
Indicates the failure of an assertion. All errors thrown by the node:assert module will be instances of the AssertionError class. new assert.AssertionError( ...
Read more >System Error Messages for Cisco Unified Communications ...
Explanation For a system running CMI, the serial port through which the voice messaging system is connected is always USB0, and that value...
Read more >Topics tagged under "node red" | Community
Battery Indicator using Node-Red · Using node-red to output battery life · Node-Red, Sensor Init Failed (i2c-1 error) · Node-Red npm package install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
install electron-rebuild and run
npx electron-rebuild -f -p
Thanks for the quick reply, I was using vue-cli-plugin-electron-builder, the solution in my case was to mark serialport as external for the builder