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

Cannot use any plugin in code-server #6743

Open
1 of 2 tasks
Robert698 opened this issue Apr 2, 2024 · 3 comments
Open
1 of 2 tasks

Cannot use any plugin in code-server #6743

Robert698 opened this issue Apr 2, 2024 · 3 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@Robert698
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Edge
  • Local OS: Windows
  • Remote OS: Alpine Linux 3.14
  • Remote Architecture: X86
  • code-server --version: 4.22.1

Steps to Reproduce

  1. Use npm 8.10.0 and nodejs 18.19.1 and python 3.10.14 to install code-server and have an error: Command failed
  2. Then use "apk add krb5-dev" to fix the installation error and install success
  3. Use "code-server" to run success, but when i click git menu it hints that "No source control providers registered."
    code1
  4. There is an error displayed on code-server "Error relocating /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/@vscode/spdlog/build/Release/spdlog.node: _ZGVZN6spdlog7details2os9thread_idEvE3tid: initial-exec TLS resolves to dynamic definition in /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/@vscode/spdlog/build/Release/spdlog.node"
    code2
  5. I tesed java and mysql plugin, they all cannot work and have the similar error above.

Expected

git and other plugins can work in code-server on alpine linux X86

Actual

plugins cannot work in code-server on alpine linux X86

Logs

No response

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in GitHub Codespaces?

No, this works as expected in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@Robert698 Robert698 added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Apr 2, 2024
@Robert698
Copy link
Author

Step to Install:

  1. vim /etc/apk/repositries
  2. 3.14->3.17
  3. apk add nodejs
  4. apk add python3
  5. apk add alpine-sdk bash libstdc++ libc6-compat
  6. apk add npm
  7. npm install -g npm@8.10.1
  8. apk del npm
  9. npm config set python python3
  10. apk add krb5-dev
  11. npm install --loglevel verbose --global --unsafe-perm code-server

@lrstanley
Copy link

Given the error, and it being similar to this SO issue -- does it work when you install bash into your Alpine image?

@Robert698
Copy link
Author

Robert698 commented Apr 8, 2024

I have installed bash at step 5: apk add alpine-sdk bash libstdc++ libc6-compat
And it was not work at that time.
In my opinion, the problem is this version of code-server is not support X86 Alpine.
Cause I have installed and run with plugin(Extension) successfull in X86_X64 Alpine.

PS: My title is not exactly, the plugin means extensions in vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants