insomnia: Installation on ARM64 - Missing Dependency (linux-arm64)
Expected Behavior
I attempted to install insomnia from the AUR on arch linux, but the installation fails due to an unavailable http resource (linux-arm64). I also tried bootstrapping manually from the cloned repo and it yielded the same behavior.
Actual Behavior
Hello,
I’m attempting to install insomnia
from the AUR on my linux setup using yay
(package manager). I was using nodejs-v19.x
, but the bootstrap script warned it was too new and haulted. I downgraded from 19.x to 16.19.0
(gallium) using nvm
and tried again. The bootstrap script passed the environment checks, but haulted again due to what appears to be a missing dependency. It wasn’t able to pull down linux-arm64
from a web resource.
Error: response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc-tools/v1.12.3/linux-arm64.tar.gz
I’m running arch linux 6.1.0
and attempting to install insomnia marked insomnia-core-2022.7.5
according to the logs.
Reproduction Steps
Installation from AUR using yay
- Open terminal
- Type
yay -Sy insomnia
- Wait for installation to complete. It should fail looking for linux-arm64 dependency
Installation from cloned repo
cd <cloned-repo-dir>
npm run bootstrap
- Installation should fail due to missing dependency
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
Additional Information
N/A
Insomnia Version
2022.7.5
What operating system are you using?
Other Linux
Operating System Version
6.1.0
Installation method
yay package manager / cloned repo
Last Known Working Insomnia version
N/A - Fresh installation
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 16 (6 by maintainers)
I have run into the same issue, it seems grpc-tools started shipping linux-arm64 binaries since v1.12.4 and the Kong’s fork of grpc-reflection-js uses v1.12.3, bumping the version there and bumping version of the fork in insomnia should fix this issue.
@jackkav just wanted to reach out and thank you for your help on this. It ended up being an issue with electron-builder, just like you said. Evidently there is a known issue where electron-builder fetches the x86 version of the FPM package, which it uses for compiling debs. I was able to install ruby-dev and then the fpm gem natively into my system and then exported USE_SYSTEM_FPM=true, which instructs electron-builder to use the gem instead of the node_module, which allowed everything to compile as needed. HOURS of research and trial and error. but I have it running on arm64 now!
Hi @filfreire and @jackkav, I was able finally to install Insomnia in my Pinetab2 (AARCH64) using “yay -S insomnia” and editing the packages.json in the downloaded source folder (.cache/yay/insomnia/packages) using the change in #6158. Thanks for your valuable help!
Regards from Colombia
Can confirm this has worked for me, compiling process went smoothly and it runs successfully (in dev mode).