Cannot use any plugin in code-server
Is there an existing issue for this?
- [X] 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
- 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
- Then use "apk add krb5-dev" to fix the installation error and install success
- Use "code-server" to run success, but when i click git menu it hints that "No source control providers registered."
- 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"
- 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
Step to Install:
- vim /etc/apk/repositries
- 3.14->3.17
- apk add nodejs
- apk add python3
- apk add alpine-sdk bash libstdc++ libc6-compat
- apk add npm
- npm install -g [email protected]
- apk del npm
- npm config set python python3
- apk add krb5-dev
- npm install --loglevel verbose --global --unsafe-perm code-server
Given the error, and it being similar to this SO issue -- does it work when you install bash into your Alpine image?
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
I will wrap this up into https://github.com/coder/code-server/issues/3431. Currently we do not support Alpine.