-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron 17 and nodejs 16 issue with serial port #2617
Comments
HI @khanziaullah can you confirm which versions of node and elecron you are using? the exception info doesnt seem to match the error messages (and if you are using elecctron 17 then an update might be needed as it is no longer supported https://www.electronjs.org/docs/latest/tutorial/electron-timelines ) |
Hi @GazHank, I have the same error and I am running the latest version of [email protected] and [email protected] |
Thanks @andres-mestra would you be able to confirm your error message(s) and the version serialport that you are using? |
What application are you trying to build? I want to understand the use case. |
I am using version 11, however this happens since version 10 |
@GazHank I think this error was caused by node-gyp-build, and serialport use it |
SerialPort Version
10
Node Version
16
Electron Version
17
Platform
Linux beaglebone 4.19.94-ti-r73 #1buster SMP PREEMPT Fri Apr 15 21:38:30 UTC 2022 armv7l GNU/Linux
Architecture
armv7l
Hardware or chipset of serialport
neo-6mv2
What steps will reproduce the bug?
Hardware: Beaglebone Black - Rev C (armv7l)
Operating System: Linux LXDE
Code: [https://github.com/serialport/electron-serialport#to-use]
Command: npm run start
What happens?
App threw an error during load
Error: No native build was found for platform=linux arch=arm runtime=electron abi=114 uv=1 armv=default libc=glibc node=18.14.0 electron=24.0.0
loaded from: /usr/local/lib/node_modules/serialport/node_modules/@serialport/bindings-cpp
A JavaScript error occurred in the main process
Uncaught Exception:
Error: No native build was found for platform=linux arch=arm runtime=electron abi=114 uv=1 armv=default libc=glibc node=18.14.0 electron=24.0.0
loaded from: /usr/local/lib/node_modules/serialport/node_modules/@serialport/bindings-cpp
[6229:0404/152724.791595:ERROR:gl_surface_egl.cc(321)] No suitable EGL configs found.
[6229:0404/152724.793406:ERROR:gl_context_egl.cc(140)] eglGetConfigAttrib failed with error EGL_BAD_CONFIG
[6229:0404/152724.795750:ERROR:gl_surface_egl.cc(321)] No suitable EGL configs found.
[6229:0404/152724.796593:ERROR:gl_surface_egl.cc(1110)] eglCreatePbufferSurface failed with error EGL_BAD_CONFIG
[6229:0404/152724.797226:ERROR:gpu_info_collector.cc(80)] gl::GLContext::CreateOffscreenGLSurface failed
[6229:0404/152724.797749:ERROR:gpu_info_collector.cc(401)] Could not create surface for info collection.
[6229:0404/152724.798240:ERROR:gpu_init.cc(88)] CollectGraphicsInfo failed.
[6229:0404/152724.849578:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[6238:0404/152725.659981:ERROR:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
/home/debian/source/repos/electron-serialport/node_modules/electron/dist/electron exited with signal SIGINT
What should have happened?
the nmea packets for the configured devices should appear on the screen.
The matching pure nodejs application prints the nmea packets
Additional information
No response
The text was updated successfully, but these errors were encountered: