Closed muccix closed 6 years ago
serialport
doesn't provide prebuild version for "raspberry PI 3" — arm64 (check what arch). Please file issue to serialport
As far I see — https://github.com/node-serialport/node-serialport/releases/tag/v6.1.0 — no prebuilds for ARM.@muccix Did you have any luck with resolving this? I'm having the same issue.
I have not solution but workaround that works for me (after several hours of experiments without solution)
Take correctly builded node_modules/@serialport on Raspberry and copy them on system where you are building AppImage. (npm install
have to be called before copying)
In your package.json add
"build":
...
"npmRebuild":false
...
Than call npm build
After running AppImage on RPi you may have this issue https://github.com/RocketChat/Rocket.Chat.Electron/issues/676 with noexec on /tmp
I have the same issue as well, any solution? @Macek007 I am building an electron app on an ubuntu machine with different architecture creating an appImage for raspberry. everything works until I use the serial port. could you please explain more about the solution?
Version: 20.0.4
Target: target=AppImage arch=armv7l
npm version: 5.6.0
NB: Not sure this is an electron-builder issue.
I'm building an app from a linux mint sytem (64bit). When I try to run the application on the target machine (raspberry PI 3) I get the follofing error:
To me, It looks like the package serialport is compile for a 64bit system instead of 32bit.
Her is my package.json: