codebuilds icon indicating copy to clipboard operation
codebuilds copied to clipboard

Code-oss fails to launch on PI Zero

Open boblund opened this issue 6 years ago • 13 comments

I get the following message when launching code-oss version 1.14.0-1497990159 on the pi zero with Raspbian GNU/Linux 8 (jessie) and Node 4.2.1:

/usr/bin/code-oss: line 35: 6672 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

This happens with both apt-get and wget installations. Is this a known problem with a planned fix? Any workarounds?

Thx.

boblund avatar Nov 26 '17 14:11 boblund

Hi, I'm getting the same error on Raspbian GNU/Linux 9 (stretch) on a Raspberry Pi 1 Model B: /usr/bin/code-oss: line 35: 1276 Segmentation fault ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@" I did the apt installation, but it seems some dependencies didn't install right. Tried to fix the package installation with "sudo apt-get install -f code-oss" but got the same error again.

My node version is 4.8.2.

Thanks in advance!

robcfg avatar Dec 20 '17 13:12 robcfg

Hi, I'm getting the same error on Raspbian on a Raspberry Pi 2 Model B:

/usr/bin/code-oss: line 35: 3546 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

Thanks in advance!

Loreton avatar Apr 27 '18 12:04 Loreton

I'm having the same issue on my Zero W

michaelBurko avatar May 09 '18 19:05 michaelBurko

Same with original Pi.

willie avatar May 31 '18 23:05 willie

Can someone try this again on one of these devices?

The binary packages are building from the very latest versions and I'm hopeful this will now be resolved.

headmelted avatar Sep 22 '18 02:09 headmelted

i tested in pi model b 512mg (BCM2835 Rev 000e) and get de same problem whit the last version "/usr/bin/code-oss: line 35: 1209 illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@" "

sinother avatar Mar 17 '19 16:03 sinother

Same with pi0

/usr/bin/code-oss: line 35: 1511 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

duncangroenewald avatar Apr 05 '19 21:04 duncangroenewald

Same with Pi Zero W, Raspbian Stretch 2019-04-08, all updates applied, code-oss_1.32.0-1550644722_armhf.deb /usr/bin/code-oss: line 35: 963 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

alansrobotlab avatar Apr 30 '19 15:04 alansrobotlab

Same with Pi Zero W, Raspbian Stretch 2019-04-08, all updates applied, code-oss_1.32.0-1550644722_armhf.deb /usr/bin/code-oss: line 35: 963 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

Same here.

ghost avatar Jul 10 '19 13:07 ghost

Same with Pi Zero W, Raspbian Stretch 2019-04-08, all updates applied, code-oss_1.32.0-1550644722 /usr/bin/code-oss: line 35: XXXX Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@" Please anyone can help us?

odiezgz avatar Aug 09 '19 12:08 odiezgz

Nothing? Anyone?

dotenorio avatar Apr 14 '20 13:04 dotenorio

I have the same issue on Ubuntu Xenial 32 bit. I made some research and found that it is problem with Electron. Electron finished support for 32 Linux: https://www.electronjs.org/blog/linux-32bit-support I guess this is the reason of this issue. I will try to find more about that, maybe some older Electron version will be working.

ZbigiMan avatar Apr 30 '20 22:04 ZbigiMan

I have hit this same error with freshly installed on Raspberry Pi Zero

JoeLajoe avatar Jun 11 '20 18:06 JoeLajoe