0

I'm using VS Code and my workspace is on a remote Linux server. I successfully installed clangd extension on the remote server, however, when I tried to download the language server, I get the following error:

Failed to install clangd language server: FetchError: request to https://api.github.com/repos/clangd/clangd/releases/latest failed, reason: getaddrinfo ENOTFOUND api.github.com You may want to install it manually.

I have not been able to find a related question on this. Could someone advise what is causing this issue?

1 Answer 1

0

First, install clangd manually: sudo apt-get install clangd.

Then, in VS Code: press Ctrl + Shift + P and search for: "clangd: Check for language server update".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.