Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with installation #405

Closed
Olli781 opened this issue May 17, 2024 · 6 comments
Closed

Problems with installation #405

Olli781 opened this issue May 17, 2024 · 6 comments
Labels
ci CI/CD raspberry Raspberry PI issues

Comments

@Olli781
Copy link

Olli781 commented May 17, 2024

Hello everyone,
when installing under UBUNTU 24.04, the following error message appears when running the script:

Build at: 2024-05-17T09:07:17.533Z - Hash: 6e9b3560450bd860 - Time: 99655ms

Warning: /home/astro1/Downloads/nebulosa-main/desktop/node_modules/@angular/core/fesm2022/core.mjs depends on 'rxjs'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /home/astro1/Downloads/nebulosa-main/desktop/node_modules/@angular/core/fesm2022/core.mjs depends on 'rxjs/operators'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /home/astro1/Downloads/nebulosa-main/desktop/src/app/atlas/atlas.component.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /home/astro1/Downloads/nebulosa-main/desktop/src/app/image/image.component.ts depends on 'interactjs'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /home/astro1/Downloads/nebulosa-main/desktop/src/app/image/image.component.ts depends on 'panzoom'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /home/astro1/Downloads/nebulosa-main/desktop/src/shared/components/map/map.component.ts depends on 'leaflet'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

• electron-builder version=24.13.3 os=6.8.0-1004-raspi
• loaded configuration file=/home/astro1/Downloads/nebulosa-main/desktop/electron-builder.json
• writing effective config file=release/builder-effective-config.yaml
• packaging platform=linux arch=arm64 electron=30.0.1 appOutDir=release/linux-arm64-unpacked
• building target=AppImage arch=arm64 file=release/nebulosa-0.1.0-arm64.AppImage
• building target=deb arch=arm64 file=release/nebulosa_0.1.0_arm64.deb
⨯ cannot execute cause=exit status 1
errorOut=/home/astro1/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin/ruby: Zeile 6: /home/astro1/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin.real/ruby: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei
/home/astro1/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin/ruby: Zeile 6: /home/astro1/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin.real/ruby: Erfolg

command=/home/astro1/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/fpm -s dir --force -t deb -d libgtk-3-0 -d libnotify4 -d libnss3 -d libxss1 -d libxtst6 -d xdg-utils -d libatspi2.0-0 -d libuuid1 -d libsecret-1-0 --deb-recommends libappindicator3-1 --deb-compression xz --architecture arm64 --after-install /tmp/t-As69GW/2-after-install --after-remove /tmp/t-As69GW/1-after-remove --description '
The complete integrated solution for all of your astronomical imaging needs.' --version 0.1.0 --package /home/astro1/Downloads/nebulosa-main/desktop/release/nebulosa_0.1.0_arm64.deb --name nebulosa --maintainer 'Tiago Melo tiago.henrique.cco@gmail.com' --url https://tiagohm.github.io/nebulosa --vendor 'Tiago Melo tiago.henrique.cco@gmail.com' --deb-priority optional --license MIT /home/astro1/Downloads/nebulosa-main/desktop/release/linux-arm64-unpacked/=/opt/nebulosa /home/astro1/Downloads/nebulosa-main/desktop/dist/assets/icons/nebulosa-256.png=/usr/share/icons/hicolor/256x256/apps/nebulosa.png /tmp/t-As69GW/4-nebulosa.desktop=/usr/share/applications/nebulosa.desktop
workingDir=

Does anyone have an idea how I can fix this error? Thank you very much and best regards Oliver

@tiagohm
Copy link
Owner

tiagohm commented May 17, 2024

Hi Oliver,

Could you check out this link https://www.beekeeperstudio.io/blog/electron-apps-for-arm-and-raspberry-pi e the related issue electron-userland/electron-builder#3901 (comment) and see if it solves the error?

@Olli781
Copy link
Author

Olli781 commented May 17, 2024

Thank you very much for your help.

Unfortunately, there are new error messages:
sudo apt install ruby ​​ruby-devsudo gem install fpm
Reading package lists… Done
Building dependency tree… Done
Status information is being read in… Done
E: Package ruby-devsudo cannot be found.
E: Package install cannot be found.
E: Package fpm cannot be found.

Is it perhaps easier to switch to a different Linux version?

@tiagohm
Copy link
Owner

tiagohm commented May 17, 2024

Try running these commands:

sudo apt install ruby ruby-dev
sudo gem install fpm

Inside desktop folder, run this command to build .deb package:

USE_SYSTEM_FPM=true npm run electron:build:deb

I was able to build successfully on Raspberry Ubuntu 22.04

@tiagohm tiagohm added raspberry Raspberry PI issues ci CI/CD labels Aug 14, 2024
@tiagohm
Copy link
Owner

tiagohm commented Oct 18, 2024

Hi Oliver,

I am pleased to inform you that the first version of the software has been released. You can now download and test it. I appreciate your patience.

I will now proceed to close the issue. If you have any additional questions, please feel free to reopen the issue.

@tiagohm tiagohm closed this as completed Oct 18, 2024
@Olli781
Copy link
Author

Olli781 commented Oct 28, 2024 via email

@tiagohm
Copy link
Owner

tiagohm commented Nov 10, 2024

Hi Oliver,

I just released the version 0.1.2. It is now possible to install on archlinux. Just download the .pacman artifact and install running pacman -U nebulosa-0.1.2-linux-aarch64.pacman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci CI/CD raspberry Raspberry PI issues
Projects
None yet
Development

No branches or pull requests

2 participants