-
Notifications
You must be signed in to change notification settings - Fork 393
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
LWC language server errors #2570
Comments
Hi @freddie1729 thanks for opening this issue. I haven't been able to replicate this on our side, can you share the component you are using to run into this error or a sample project that consistently replicate this ? |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
Here is the js code that is causing it: import { LightningElement, wire } from 'lwc'; const actions = [ //TODO: get rid export default class GisMetadataUpdateConfig extends LightningElement {
} |
It is happening on both LWC and Aura |
Thanks for providing feedback @freddie1729 , I'm closing this now since the fix is available on v50.7.0. |
Summary
An error is thrown in the Output section of VS Code when editing a .js file.
[Error - 12:13:16] Request textDocument/definition failed. Message: Request textDocument/definition failed with message: Cannot destructure property 'delimiter' of '(intermediate value)(intermediate value)(intermediate value)' as it is undefined. Code: -32603
Steps To Reproduce:
[Error - 12:13:16] Request textDocument/definition failed.
Message: Request textDocument/definition failed with message: Cannot destructure property 'delimiter' of '(intermediate value)(intermediate value)(intermediate value)' as it is undefined.
Code: -32603
Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
VS Code Version:
SFDX CLI Version:
OS and version:
The text was updated successfully, but these errors were encountered: