-
Notifications
You must be signed in to change notification settings - Fork 115
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
"Failed to check for clangd update: TypeError: Invalid comparator: Features:" error when running "clangd: Check for language server update" #396
Comments
The call that's throwing is this Going into it, we have:
I'm guessing that |
While debugging this, I discovered that vscode-clangd is not picking up the latest code in node-clangd -- rather, it is picking up the latest node-clangd release, 0.1.4, which does not contain some fixes such as this one, which may fix this (as well as #384). Filed clangd/node-clangd#18 to release a new version of node-clangd so vscode-clangd can pick up the fixes. |
I figured out how to get vscode-clangd to consume the latest node-clangd locally, and confirmed that this bug still exists with the latest node-clangd. |
Proposed fix at clangd/node-clangd#21 |
When I try to run the command "clangd: Check for language server update", I get the following error in a popup:
The stack trace in the devtools console (not that it seems very helpful) is:
The text was updated successfully, but these errors were encountered: