I spent a couple of hours trying to assemble the package, but to no avail.
Did the following:
1. git clone GitHub - Sienci-Labs/gsender: Connect to and control Grbl-based CNCs with ease
2. bash -c ‘scripts/prebuild-prod.sh --linux --x64’
Error: Cannot find module ‘@trendmicro/babel-config’
No package babel-config
3. bash -c ‘scripts/electron-builder.sh --linux --x64’
$ electron-builder --linux --x64
• electron-builder version=23.6.0 os=6.1.38-1-lts
• loaded configuration file=package.json (“build” field)
⨯ Cannot compute electron version from installed node modules - none of the possible electron modules are installed.
See electron-builder packages with wrong electron binary version · Issue #3984 · electron-userland/electron-builder · GitHub
error Command failed with exit code 1.
npm run for
yarn below if you don’t have yarn installed
All scripts are setup in package.json.
yarn install Executes without errors, and the command:
installed the missing dependencies and I see the AppImage and deb packages are assembled
The binaries were assembled, but the paragram was not executed. After comparing the files, it turned out that there are no app, server directories in output/linux-unpacked/resources/app. I copied them from gSender_1.2.2_amd64.deb and now everything works. Can anyone suggest what could be the problem?
By default, the program is compiled to /opt, is it possible to specify the traditional paths /bin, /usr/lib, etc.?
Until I found a solution how to avoid an error with compiling the package, I created a package in the AUR from the finished binary: AUR (en) - gsender-bin
Understood, I fixed the error when compiling the package.
The program is now available for archlinx: AUR (en) - gsender
It is not clear why the program is not displayed in other languages: Displaying other languages in the program