Reputation: 485
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?
Upvotes: 0
Views: 9861
Reputation: 11
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".
Upvotes: 0