Open lissyx opened 3 years ago
FTR this was the only way for me to be able to complete initial setup of my printer, and it worked fine.
(Looks like rebuilding on recent Electron is limited by V8-level API changes)
Somehow, I don't know why the npm install
step does not pick the proper --target=xx
from src/package.json
, but manually running:
./node_modules/.bin/node-pre-gyp rebuild --target=2.0.18 --runtime=electron --target_arch=x64 --directory=node_modules/serialport/ --update-binary --dist-url=https://electronjs.org/headers
It seems 2.x is the last one API compatible.
Hi @lissyx ,
I am aware of this issue, will try to update the whole stuff (node version, electron,...) asap.
Regards, Orel
Hi @lissyx ,
I am aware of this issue, will try to update the whole stuff (node version, electron,...) asap.
Regards, Orel
I tried to get a grasp, but I was lacking of time. I've had my head extensively in node-pre-gyp
for shipping deepspeech, there might be things you want to pick from there
Running DagomApp fails on recent systems, reproduced on Ubuntu 20.10 as well as Debian Sid.
STRs:
./DagomApp
Expected: App run
Actual:
There are multiple reports on the interwebs about similar issues, which seems to be related to the embedded Electron runtime linked against a too old version of
libpango
compared to what the system can provide.Workaround (found on some third-party Github issue):
wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/x86_64/os/Packages/p/pango-1.38.1-1.fc23.x86_64.rpm
$ mkdir pango-1.38.1-1.fc23.x86_64
$ cd pango-1.38.1-1.fc23.x86_64
pango-1.38.1-1.fc23.x86_64$ rpm2cpio ../pango-1.38.1-1.fc23.x86_64.rpm |cpio -div
LD_LIBRARY_PATH=$PWD/pango-1.38.1-1.fc23.x86_64/usr/lib64 ./DagomApp
Maybe upgrading the Electron runtime can help and/or shipping a new release ?