Code-server: Unable to start the C/C++ language server

Created on 21 Nov 2019  路  9Comments  路  Source: cdr/code-server

  • code-server version: 2.1692-vsc1.39.2
  • OS Version: Ubuntu 18.04 LTS
  • Extension: C/C++ Extension

Description

Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: Missing binary at /home/ariesdevil/.local/share/code-server/extensions/ms-vscode.cpptools-0.26.2-insiders/bin/Microsoft.VSCode.CPP.Extension.linux

Steps to Reproduce

  1. open a c++ project
  2. then codeserver run CMake automatically and throws this error.
extension

Most helpful comment

After two days of testing on different machines, and See The problem is that vscodeserver failed to download. It contains four download files, all of which are timeout failures
I finally found out that the problem was that the remote Linux machine was not connected to the Internet.

All 9 comments

I just found Microsoft.VSCode.CPP.Extension.darwin in the .local/share/code-server/extensions/ms-vscode.cpptools-0.26.2-insiders/bin/ directory, but it seems need linux version.

My code-server setup is typing sshcode xxxx@ubuntu18 from MacOS.

I鈥檓 seeing the same issue with rust too

I have the same Issue - I connect from a Win 10 machine to a Ubuntu 16.04
So I fixed this by doing an Install from VSIX but since my code is residing on a linux machine I had to install cpptools-linux.vsix

@kylecarbs @code-asher looks like a broken extension issue here.

1299

After two days of testing on different machines, and See The problem is that vscodeserver failed to download. It contains four download files, all of which are timeout failures
I finally found out that the problem was that the remote Linux machine was not connected to the Internet.

So I had the same problem on a newly booted Ubuntu server.
I was getting Error: Unable to read process.env.HOME.
Apparently it was caused by my NodeJS version. It requires 10 or above and I had 8.0.

So I had the same problem on a newly booted Ubuntu server.
I was getting Error: Unable to read process.env.HOME.
Apparently it was caused by my NodeJS version. It requires 10 or above and I had 8.0.
same error on NodeJS 10
how to resolve it
centos 7

@940842546 code-server currently requires Node 12, although I don't know whether upgrading will resolve that particular error in your case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justmao945 picture justmao945  路  3Comments

broady picture broady  路  3Comments

sa7mon picture sa7mon  路  3Comments

grant picture grant  路  3Comments

RealSlimMahdi picture RealSlimMahdi  路  3Comments