You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to build (an application on a Mac system) and run the application on a Windows system.
What happens?
When I try to run the application on a Windows system that has been built on a Mac system, the application behaves incorrectly and displays the following error in the console. However, when I build the application on Windows, it runs without any issues.
Uncaught Error: \\?\C:\Users\Daniel Karski\AppData\Local\Programs\electron-serialport\resources\app.asar.unpacked\node_modules\@serialport\bindings-cpp\build\Release\bindings.node is not a valid Win32 application.
\\?\C:\Users\Daniel Karski\AppData\Local\Programs\electron-serialport\resources\app.asar.unpacked\node_modules\@serialport\bindings-cpp\build\Release\bindings.node
What should have happened?
I would expect the application to work correctly on a Windows system, regardless of the system on which it was built.
Additional information
In my case, I used the electron-builder tool for building the application, but a similar issue occurs when using other tools such as electron-forge with webpack or Vite. It appears that the build tool is not the primary cause of the issue described.
It's important to note that when I build the application on Windows, it runs without any issues. The problem seems to be specific to building the application on a Mac and then running it on Windows.
I would appreciate any assistance in resolving this problem, as it hinders the development and testing of the application on different platforms.
Thank you for your attention and assistance!
The text was updated successfully, but these errors were encountered:
SerialPort Version
10.5.0
Node Version
18.16.1
Electron Version
26.4.0
Platform
Darwin MacBook-Pro-Appnroll-3.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64
Architecture
x86/x64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
What happens?
When I try to run the application on a Windows system that has been built on a Mac system, the application behaves incorrectly and displays the following error in the console. However, when I build the application on Windows, it runs without any issues.
What should have happened?
I would expect the application to work correctly on a Windows system, regardless of the system on which it was built.
Additional information
In my case, I used the electron-builder tool for building the application, but a similar issue occurs when using other tools such as electron-forge with webpack or Vite. It appears that the build tool is not the primary cause of the issue described.
It's important to note that when I build the application on Windows, it runs without any issues. The problem seems to be specific to building the application on a Mac and then running it on Windows.
I would appreciate any assistance in resolving this problem, as it hinders the development and testing of the application on different platforms.
Thank you for your attention and assistance!
The text was updated successfully, but these errors were encountered: