You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running code-server on a x86_64 machine, exposing the port and setup a SSL certificate. Everything works well regarding editing the code. However, after installing ms-vscode.cpptools, 1.2.0, I saw these errors when I open the webpage:
The C/C++ extension failed to install successfully. You will need to repair or reinstall the extension for C/C++ language features to function properly.
Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: Launching server using command /home//.local/share/code-server/extensions/ms-vscode.cpptools-1.2.0/bin/cpptools failed.
Couldn't start client cpptools
What is more interesting is that, this file ~/.local/share/code-server/extensions/ms-vscode.cpptools-1.2.0/bin/cpptools is actually built for aarch64!!
$ file ~/.local/share/code-server/extensions/ms-vscode.cpptools-1.2.0/bin/cpptools
/home/<name>/.local/share/code-server/extensions/ms-vscode.cpptools-1.2.0/bin/cpptools: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=8fba084eb8358497b78b28a3543e1821da36842c, with debug_info, not stripped
Does anyone see similar problem before? Is there a way to manually install extension so that I can get the correct architecture?
Thanks
The text was updated successfully, but these errors were encountered:
After manually downloading the vsix file from the release page, everything back to normal. So there must be something is wrong when detecting the architecture of the platform.
t0ny-peng
changed the title
Seeming bug: Got aarch64 binary from extension even if code-server runs on x86_64 machine
Got aarch64 binary from extension even if code-server runs on x86_64 machine
Feb 13, 2021
code-server --version
: 3.9.0 fc6d123I'm running code-server on a x86_64 machine, exposing the port and setup a SSL certificate. Everything works well regarding editing the code. However, after installing
ms-vscode.cpptools
, 1.2.0, I saw these errors when I open the webpage:What is more interesting is that, this file
~/.local/share/code-server/extensions/ms-vscode.cpptools-1.2.0/bin/cpptools
is actually built for aarch64!!Does anyone see similar problem before? Is there a way to manually install extension so that I can get the correct architecture?
Thanks
The text was updated successfully, but these errors were encountered: