coder / code-server

VS Code in the browser
https://coder.com
MIT License
67.86k stars 5.58k forks source link

Serious Bug #6792

Closed 18392152392 closed 4 months ago

18392152392 commented 4 months ago

Is there an existing issue for this?

OS/Web Information

Steps to Reproduce

  1. I download the code-server4.23.1,then I copy it to my centos7.9
  2. But when I execute ./code-server --port 3000,It doesn't work
  3. the error is version `GLIBCXX_3.4.21' not found
  4. I was urgent to use this version, How to do?my glibc can not update

Expected

code-server4.23.1 can normally use

Actual

always

Logs

No response

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

Yes, this is also broken in native VS Code

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

Notes

No response

code-asher commented 4 months ago

The prebuilt code-server releases do not support CentOS 7 because Node does not support it (because the version of glibc it has is too old). You will need to use a newer version of CentOS or update glibc (not sure if that is possible) or compile code-server yourself (for example by installing with npm) or downgrade to code-server 4.16.1 (I think).

Duplicate of https://github.com/coder/code-server/issues/6451