Quick Hint: Building Electron Apps
#1
Just a quick hint for any individuals building or developing Electron-based apps:

If you simply issue npm install electron, the process will fail with a non-specific 404 error as well as an unhandled promise reject during electron's postinstall stage. This is due to, afaik, the electron downloader pulling for the non-existent arm(maybe?) build instead of the more appropriate armv7l build. 

To resolve this, pass the arch flag as such:
Code:
$ npm i electron --arch=armv7l

or if installing in general:

$ npm i --arch=armv7l
Afterwards you should be good to go.


Messages In This Thread
Quick Hint: Building Electron Apps - by kettek - 11-01-2019, 11:22 PM
Quick Hint: Building Electron Apps - by Wizzard - 11-02-2019, 02:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible to run ArmV7 Apps on Manjaro? gandlers 15 8,021 01-22-2022, 05:19 PM
Last Post: gandlers
Question Building custom kernel (5.11.x) for Manjaro? ppafin 4 5,235 06-02-2021, 04:17 AM
Last Post: ppafin
  Building webkit2gtk gleachkr 9 8,596 03-10-2020, 12:17 PM
Last Post: gleachkr
  Gnome3 UI Scaling Hint Jeremiah Cornelius 0 1,407 02-05-2020, 07:10 PM
Last Post: Jeremiah Cornelius
  Quick Question Wayland vs X Jeremiah Cornelius 3 5,277 12-07-2019, 09:00 PM
Last Post: Samarium151

Forum Jump:


Users browsing this thread: 3 Guest(s)