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.

Request textDocument/codeAction failed with message: Cannot read property 'localeCompare' of undefined

See original GitHub issue

Since yesterday (seems like due to version update), my VSCode Elm integration no longer works and errors out with:

[Info  - 11:03:29 AM] A code action was requested
[Error - 11:03:29 AM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Cannot read property 'localeCompare' of undefined
  Code: -32603 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
domenkozarcommented, Apr 3, 2020

Works, thank you!

0reactions
razzeeecommented, Apr 2, 2020

Okay, will prepare something in a few hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'localeCompare' of undefined
I am trying to sort the HTML table, but getting the error. Is there anything I am doing wrongly?
Read more >
Cannot read property 'localeCompare' of undefined #9766
Trying to do local install of gulp using 'npm install gulp' and it gives me that error.
Read more >
Cannot read Property 'localeCompare' of undefined
Attempting to run an Active Report fails with error: Cannot read Property 'localeCompare' of undefined.
Read more >
String.prototype.localeCompare() - JavaScript - MDN Web Docs
The localeCompare() method returns a number indicating whether a reference string comes before, or after, or is the same as the given string ......
Read more >
Cannot read properties of undefined' - JavaScript Debugging
How To Fix 'Uncaught TypeError : Cannot read properties of undefined ' - JavaScript Debugging.
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