question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[error] Error: The language client requires VS Code version ^1.42.0 but received version 1.41.1

See original GitHub issue

Hello

I am on Manjaro Linux and I am doing some Elm development. Everything used to work fine, but recently the tooling is broken.

elm-format no longer works and I can’t do things like Go To Definition

image

The error in text is:

"_lower":"vscode.merge-conflict"},"activationEvent":"*"}
[2020-02-23 01:00:14.514] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code/extensions/merge-conflict/dist/extension
[2020-02-23 01:00:14.519] [exthost] [info] ExtensionService#_doActivateExtension vscode.search-result {"startup":true,"extensionId":{"value":"vscode.search-result","_lower":"vscode.search-result"},"activationEvent":"*"}
[2020-02-23 01:00:14.519] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code/extensions/search-result/dist/extension.js
[2020-02-23 01:00:14.521] [exthost] [info] ExtensionService#_doActivateExtension esbenp.prettier-vscode {"startup":true,"extensionId":{"value":"esbenp.prettier-vscode","_lower":"esbenp.prettier-vscode"},"activationEvent":"*"}
[2020-02-23 01:00:14.521] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/jwan/.vscode-oss/extensions/esbenp.prettier-vscode-3.20.0/dist/extension
[2020-02-23 01:00:14.561] [exthost] [info] ExtensionService#_doActivateExtension ritwickdey.LiveServer {"startup":true,"extensionId":{"value":"ritwickdey.LiveServer","_lower":"ritwickdey.liveserver"},"activationEvent":"*"}
[2020-02-23 01:00:14.561] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/jwan/.vscode-oss/extensions/ritwickdey.liveserver-5.6.1/out/src/extension
[2020-02-23 01:00:14.745] [exthost] [info] ExtensionService#_doActivateExtension vscode.npm {"startup":true,"extensionId":{"value":"vscode.npm","_lower":"vscode.npm"},"activationEvent":"workspaceContains:package.json"}
[2020-02-23 01:00:14.745] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code/extensions/npm/dist/main
[2020-02-23 01:00:14.798] [exthost] [error] Activating extension elmTooling.elm-ls-vscode failed due to an error:
[2020-02-23 01:00:14.799] [exthost] [error] Error: The language client requires VS Code version ^1.42.0 but received version 1.41.1
	at LanguageClient.checkVersion (/home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/node_modules/vscode-languageclient/lib/main.js:123:19)
	at new LanguageClient (/home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/node_modules/vscode-languageclient/lib/main.js:104:18)
	at didOpenTextDocument (/home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/out/extension.js:111:32)
	at Array.forEach (<anonymous>)
	at /home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/out/extension.js:117:42
	at Generator.next (<anonymous>)
	at /home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/out/extension.js:8:71
	at new Promise (<anonymous>)
	at __awaiter (/home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/out/extension.js:4:12)
	at activate (/home/jwan/.vscode-oss/extensions/elmtooling.elm-ls-vscode-0.9.1/client/out/extension.js:51:12)
	at Function._callActivateOptional (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:695:911)
	at Function._callActivate (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:695:562)
	at /usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:694:651
	at async Promise.all (index 0)
[2020-02-23 01:00:14.943] [exthost] [info] eager extensions activated
[2020-02-23 01:18:48.397] [exthost] [info] ExtensionService#_doActivateExtension vscode.css-language-features {"startup":false,"extensionId":{"value":"vscode.css-language-features","_lower":"vscode.css-language-features"},"activationEvent":"onLanguage:scss"}
[2020-02-23 01:18:48.397] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code/extensions/css-language-features/client/dist/cssMain

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dstpierrecommented, Feb 28, 2020

Very strange, I’ve removed and reinstalled multiple time yesterday.

Seems to be working now, thanks.

0reactions
razzeeecommented, Feb 28, 2020

Can you deinstall and install the extension in vscode? I have had an report from an user which sounded similar. Not sure how it can fail on installing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Elm Extension won't start because it requires VSCode 1.42
OS and Theia version: Gitpod. Diagnostics: The language client requires VS Code version ^1.42.0 but received version 1.41.1.
Read more >
The language client requires VS Code version ^1.51.0 but ...
It says that language client requires version way ahead of the current installed vs code version from pacman (community) server. How to deal ......
Read more >
November 2019 (version 1.41) - Visual Studio Code
Welcome to the November 2019 release of Visual Studio Code. There are a number of updates in this version that we hope you...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
November 2022 (version 1.74) - Visual Studio Code
profile collection - Easily create CPU profiles for viewing in VS Code. Go to Definition from return - Jump to the top of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found