No native build was found for platform=linux arch=x64 #2846
Unanswered
m-atanasova
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently upgraded our project (electron application) to use serialport 12.0.0 (from 9.2.8). The app is packaged with webpack v.5.92.1 and built with electron-forge v. 7.4.0.
Since the upgrade we have a problem arising from the bindings-cpp dependency.
When we run the packaged and installed version, we get the following error:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: No native build was found for platform=linux arch=x64 runtime=electron abi=125 uv=1 libc=glibc node=20.14.0 electron=31.1.0 webpack=true
loaded from: /home/user/node_modules/@serialport/bindings-cpp
I tried with Node.js v. 18, 20 and 21, does not seem to make a difference.
I have checked posts about similar errors (no native build was found), but they did not help in our situation.
Any Ideas will be very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions