I have just attempted an installation and it completed, but with errors, but did produce the menu and desktop entries. However, when I select either item, it thinks about it for about 5 seconds then returns the cursor and nothing happens.
When I extract the Exec from either entry then they are identical, as would be expected.
There is a log file from the installation in the ~/.npm/logs folder but it is too long to be included here. (Where should this log go?)
I then tried running the Exec in a terminal to see if there was any indication from that process and the dump from that is listed further below.
I acknowledge that there is no formal support for installation on RPi4 but this device is a fact of life and will become more so.
pi@rpi-engraver:~ $ bash -c "cd ~/OpenBuilds-CONTROL; git fetch --all; git reset --hard origin/master; MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y ~/OpenBuilds-CONTROL/node_modules/.bin/electron ~/OpenBuilds-CONTROL"
Fetching origin
HEAD is now at f3c9b79 Update
App threw an error during load
Error: No native build was found for platform=linux arch=arm runtime=electron abi=113 uv=1 armv=default libc=glibc node=18.12.1 electron=23.1.3
loaded from: /home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp
at load.resolve.load.path (/home/pi/OpenBuilds-CONTROL/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/home/pi/OpenBuilds-CONTROL/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp/dist/load-bindings.js:11:46)
at Module._compile (node:internal/modules/cjs/loader:1174:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1229:10)
at Module.load (node:internal/modules/cjs/loader:1044:32)
at Module._load (node:internal/modules/cjs/loader:885:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1068:19)
at require (node:internal/modules/cjs/helpers:103:18)
Error: No native build was found for platform=linux arch=arm runtime=electron abi=113 uv=1 armv=default libc=glibc node=18.12.1 electron=23.1.3
loaded from: /home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp
at load.resolve.load.path (/home/pi/OpenBuilds-CONTROL/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/home/pi/OpenBuilds-CONTROL/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp/dist/load-bindings.js:11:46)
at Module._compile (node:internal/modules/cjs/loader:1174:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1229:10)
at Module.load (node:internal/modules/cjs/loader:1044:32)
at Module._load (node:internal/modules/cjs/loader:885:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1068:19)
at require (node:internal/modules/cjs/helpers:103:18)
TypeError: Cannot read properties of undefined (reading 'address')
at Server. (/home/pi/OpenBuilds-CONTROL/index.js:142:41)
at Object.onceWrapper (node:events:627:28)
at Server.emit (node:events:525:35)
at emitListeningNT (node:net:1519:10)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
TypeError: Cannot read properties of undefined (reading 'address')
at Server.httpServerSuccess (/home/pi/OpenBuilds-CONTROL/index.js:148:41)
at Object.onceWrapper (node:events:627:28)
at Server.emit (node:events:525:35)
at emitListeningNT (node:net:1519:10)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
^C/home/pi/OpenBuilds-CONTROL/node_modules/electron/dist/electron exited with signal SIGINT
pi@rpi-engraver:~ $
I have just attempted an installation and it completed, but with errors, but did produce the menu and desktop entries. However, when I select either item, it thinks about it for about 5 seconds then returns the cursor and nothing happens. When I extract the Exec from either entry then they are identical, as would be expected. There is a log file from the installation in the ~/.npm/logs folder but it is too long to be included here. (Where should this log go?) I then tried running the Exec in a terminal to see if there was any indication from that process and the dump from that is listed further below. I acknowledge that there is no formal support for installation on RPi4 but this device is a fact of life and will become more so.
pi@rpi-engraver:~ $ bash -c "cd ~/OpenBuilds-CONTROL; git fetch --all; git reset --hard origin/master; MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y ~/OpenBuilds-CONTROL/node_modules/.bin/electron ~/OpenBuilds-CONTROL" Fetching origin HEAD is now at f3c9b79 Update App threw an error during load Error: No native build was found for platform=linux arch=arm runtime=electron abi=113 uv=1 armv=default libc=glibc node=18.12.1 electron=23.1.3 loaded from: /home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp
Error: No native build was found for platform=linux arch=arm runtime=electron abi=113 uv=1 armv=default libc=glibc node=18.12.1 electron=23.1.3 loaded from: /home/pi/OpenBuilds-CONTROL/node_modules/@serialport/bindings-cpp
TypeError: Cannot read properties of undefined (reading 'address') at Server. (/home/pi/OpenBuilds-CONTROL/index.js:142:41)
at Object.onceWrapper (node:events:627:28)
at Server.emit (node:events:525:35)
at emitListeningNT (node:net:1519:10)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
TypeError: Cannot read properties of undefined (reading 'address')
at Server.httpServerSuccess (/home/pi/OpenBuilds-CONTROL/index.js:148:41)
at Object.onceWrapper (node:events:627:28)
at Server.emit (node:events:525:35)
at emitListeningNT (node:net:1519:10)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
^C/home/pi/OpenBuilds-CONTROL/node_modules/electron/dist/electron exited with signal SIGINT
pi@rpi-engraver:~ $