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

[BUG] Illegal byte sequence when running code-server #2199

Open
ZreXoc opened this issue Aug 17, 2023 · 3 comments
Open

[BUG] Illegal byte sequence when running code-server #2199

ZreXoc opened this issue Aug 17, 2023 · 3 comments

Comments

@ZreXoc
Copy link

ZreXoc commented Aug 17, 2023

I downloaded the 32 bit version of code-server with the following commands:

$ wget https://github.com/coder/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-x86_64.tar.gz

$ tar -zxf code-server-3.5.0-linux-x86_64.tar.gz 

But when I run ./code-server-3.5.0-linux-x86_64/bin/code-server , I got:

/root/code-server-3.5.0-linux-x86_64/lib/node: line 1: can't create �쑗@�?��@8: Illegal byte sequence
/root/code-server-3.5.0-linux-x86_64/lib/node: line 2: syntax error: unexpected ")" 

How can I solve it? Or are there any other ways to install code-server?

@ZreXoc
Copy link
Author

ZreXoc commented Aug 17, 2023

I made a mistake, it should be "illegal" instead of "legal" in the title of this issue. Can anyone fix it? Thx.

@Mnpn
Copy link
Member

Mnpn commented Aug 17, 2023

Hi! It looks like you've gotten an x86_64 (which is 64-bit) version :)
As for the title, you should be able to change it by clicking the "Edit" button to the right of it.

@cosinami
Copy link

Node.js dropped 32-bit builds a while back, and, if I recall correctly, code-server relies on a version of Node.js that doesn't have a 32-bit version. It might still be possible to compile it from scratch, but I gave up after a couple of attempts due to me spending way too many hours chasing weird build errors and bugs while compiling a 32-bit version.

@ZreXoc ZreXoc changed the title [BUG] Iegal byte sequence when running code-server [BUG] IlIegal byte sequence when running code-server Aug 17, 2023
@ZreXoc ZreXoc changed the title [BUG] IlIegal byte sequence when running code-server [BUG] Illegal byte sequence when running code-server Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants