Cannot build gui on RPi4 Ubuntu 20.04 RCS>=0.2.3
See original GitHub issueRaspberry pi 4, 8GB RAM running Arm64 and Ubuntu 20.04
Having a lot of trouble trying to get the electron
build to work.
I have tried nuking my nodejs libs, which included reinstalling various versions of Nodejs v12. As well as nuking the directory and recloning, resetting to master/origin etc. Any suggestions?
Full log/stack trace from debug.log
:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'electron' ]
2 info using npm@6.14.8
3 info using node@v12.18.2
4 verbose run-script [ 'preelectron', 'electron', 'postelectron' ]
5 info lifecycle chia-blockchain@~preelectron: chia-blockchain@
6 info lifecycle chia-blockchain@~electron: chia-blockchain@
7 verbose lifecycle chia-blockchain@~electron: unsafe-perm in lifecycle true
8 verbose lifecycle chia-blockchain@~electron: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/chia-blockchain/chia-blockchain-gui/node_modules/.bin:/home/user/chia-blockchain/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle chia-blockchain@~electron: CWD: /home/user/chia-blockchain/chia-blockchain-gui
10 silly lifecycle chia-blockchain@~electron: Args: [ '-c', 'electron .' ]
11 silly lifecycle chia-blockchain@~electron: Returned: code: 1 signal: null
12 info lifecycle chia-blockchain@~electron: Failed to exec electron script
13 verbose stack Error: chia-blockchain@ electron: `electron .`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid chia-blockchain@
15 verbose cwd /home/user/chia-blockchain/chia-blockchain-gui
16 verbose Linux 5.8.0-1016-raspi
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "electron"
18 verbose node v12.18.2
19 verbose npm v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error chia-blockchain@ electron: `electron .`
22 error Exit status 1
23 error Failed at the chia-blockchain@ electron script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
CLI display:
(venv) user@user-pi4:~/chia-blockchain/chia-blockchain-gui$ npm run electron &
[2] 172590
(venv) user@user-pi4:~/chia-blockchain/chia-blockchain-gui$
> chia-blockchain@ electron /home/user/chia-blockchain/chia-blockchain-gui
> electron .
The futex facility returned an unexpected error code.
/home/user/chia-blockchain/chia-blockchain-gui/node_modules/electron/dist/electron exited with signal SIGABRT
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chia-blockchain@ electron: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chia-blockchain@ electron script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2021-02-26T23_24_31_264Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to install Ubuntu Desktop on Raspberry Pi 4
In this tutorial, we walk you through the process of installing Ubuntu Desktop on a Raspberry Pi. If you are looking to install...
Read more >GUI Ubuntu 20.04 Server - RPI 4 - RealVNC "cannot currently ...
I use an Ubuntu desktop (regular version) on a headless RPI4, reaching it by Realvnc, if this get rid of any misunderstanding. This...
Read more >Install Ubuntu 20.04 on Raspberry Pi 4 (without monitor)
In this tutorial you'll learn how to install Ubuntu 20.04 on Raspberry Pi 4, without needing any external monitor/keyboard/mouse.
Read more >Install Tensorflow 2.3.0 on Raspberry Pi 4 - Stack Overflow
I am hving similar isue building on RPi, though not exact same symbol. As a workaround,you can download the whl from this link....
Read more >Raspberry Pi 4 - Installing Ubuntu 20.10 On SSD ... - YouTube
Raspberry Pi 4 - Install UBUNTU 20.10 on SSD & OverClock To 2.3 GHZ to run the full fledge version of ubuntu 20.10...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Look up nvm and install nodejs v12 (sorry on mobile right now won’t be by computer for a while). There are some guides out there. I look dup Ubuntu stuff, but this may help you cause it’s rpi related https://linuxize.com/post/how-to-install-node-js-on-raspberry-pi/
On Mon, Apr 26, 2021, 17:48 krtpowa @.***> wrote:
how i do this? i have a rpi with raspbian base, and i get the same error.electron doesn’t works… my npm version is v16
thanks!!