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

code-server installing extension in wrong arch #4100

Closed
dna2github opened this issue Sep 4, 2021 · 2 comments
Closed

code-server installing extension in wrong arch #4100

dna2github opened this issue Sep 4, 2021 · 2 comments

Comments

@dna2github
Copy link

OS/Web Information

  • Web Browser: Chrome 92
  • Local OS: MacOS Big Sur (Interl CPU)
  • Remote OS: Debian
  • Remote Architecture: x86_64 (uname -m)
  • code-server --version: 3.11.1

Steps to Reproduce

  • recently i built code-server from source on a Linux x86_64 machine:
git clone https://github.com/cdr/code-server
cd code-server
yarn
yarn run build:vscode
yarn run build
yarn run release
yarn run release:standalone
  • then there is a folder release-standalone generated;
  • removed node_modules inside the folder and package the whole folder into code-server.tar.gz.
  • scp the tarball to another machine with Linux x86_64
  • extract the tarball and do yarn --prod
  • run code-server.
  • when i go to extension marketplace, insatall c/c++ extension by Microsoft (ms-cpptools) and reload window, it show a warning message to tell me about not compatible with current arch, the extension is arm64 version.

Expected

the extension should be installed with AMD64 version.

Actual

the extension is in ARM64 version.

Logs

INFO Installing extension: ms-vscode.cpptools
INFO Downloaded extension: ms-vscode.cpptools /opt/config/user/CachedExtensionVSIXs/ms-vscode.cpptools-1.5.1
INFO Extracted extension to /opt/config/ext/.9b6f7f14-9de3-403d-a327-5f74abd24eb2: ms-vscode.cpptools
INFO Renamed to /opt/config/ext/ms-vscode.cpptools-1.5.1
INFO Installation completed. ms-vscode.cpptools
INFO Extensions installed successfully: ms-vscode.cpptools

This issue can be reproduced in VS Code: unknown

@jsjoeio
Copy link
Contributor

jsjoeio commented Sep 7, 2021

Hi there! This is a known issue. See #2120

@repo-ranger
Copy link
Contributor

repo-ranger bot commented Sep 7, 2021

⚠️ This issue has been marked duplicate and will be closed in 2 days.

@repo-ranger repo-ranger bot closed this as completed Sep 9, 2021
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

2 participants