Error : Request textDocument/codeLens failed with message: Cannot read property 'length' of undefined
See original GitHub issueHello I got a tons of error on my device upon checking the output terminal. I’m not sure how to fix this entirely.
This is on the PC
[Error - 5:38:49 PM] Request textDocument/semanticTokens/range failed.
Message: Request textDocument/semanticTokens/range failed with message: Cannot read property 'length' of undefined
Code: -32603
Laptop
It looks like the error are somewhat related to each other.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:13 (3 by maintainers)
Top Results From Across the Web
[json] Request textDocument/* failed with message: Cannot ...
Message : Request textDocument/hover failed with message: Cannot read property 'version' of undefined Code: -32603 [Error ...
Read more >VS Code - Request textDocument/definition failed
I want to code and debug my own code, not manage my ecosystem of tools and debug their problems. At least they should...
Read more >Language Server Protocol Specification - 3.15
A request message to describe a request between the client and the server. ... boolean | object | null; /** * The error...
Read more >code extensions not working properly : r/vscode - Reddit
Message: Request textDocument/codeAction failed with message: Cannot read property 'length' of undefined. Code: -32603 [Error - 22:46:13] ...
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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Visiting VSCode marketplace VSCode marketplace, and then clicking
history version
, and then downloadingv0.27.16
, finally to find downloaded file, Dragging it into window of VScodeextension
.@johnsoncodehk Sorry for i can not replay the error. Because i had been upgrading project dependences –
vite
vue
in few hours ago.I guessed that the error was caused by dependence of
vite
, but i can not confirm.Look like the error has been fixed in
"vue": "^3.2.20"
"vite": "^2.6.10"
. sfc.vuejs.orgThanks for
Volar
and your contributes.