You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! (reposting this from Discord at the request of @MaxKless). Lately I've seen this error from the Nx Console Extension a lot: Request textDocument/documentLink failed. I'm not exactly sure what is going on but the popup is becoming quite the nuisance. It seems to happen whenever I save changes to any file in my project.
VS Code Error
Expected Behavior
No errors thrown after saving file changes within my workspace.
GitHub Repo
No response
Steps to Reproduce
I'm not well versed enough in debugging monorepos to create a detailed reproduction guide, but this error seemingly occurs whenever I edit any file within my workspace. Hopefully the provided logs provide some context.
to me this smells like something funky is happening in one of your project.json definitions. In webstorm, can you run the Analyze Nx Configuration Files action?
We should handle this error better for sure but I don't think this happens on repos with proper syntax.
Would be amazing if you could provide a reproduction so I can track it down...
MaxKless
changed the title
NX Console fails to read project graph
textDocument/documentLink fails with: Cannot use 'in' operator to search for 'x-completion-type' in string
Apr 2, 2024
I tried looking for the action you mentioned, but I couldn't find it (at least not in VS Code). You were right though. After some debugging I discovered that the error is only occurring within some of my project.json configurations.
I have located the offending target (which triggers an executor in custom local plugin). However, nothing looks out of the ordinary—and it runs exactly as expected when I invoke it. Unfortunately, I can't share the actual source code as it's protected IP. However, I can provide an anonymized example of what it looks like:
Current Behavior
Hi! (reposting this from Discord at the request of @MaxKless). Lately I've seen this error from the Nx Console Extension a lot: Request
textDocument/documentLink
failed. I'm not exactly sure what is going on but the popup is becoming quite the nuisance. It seems to happen whenever I save changes to any file in my project.VS Code Error
Expected Behavior
No errors thrown after saving file changes within my workspace.
GitHub Repo
No response
Steps to Reproduce
I'm not well versed enough in debugging monorepos to create a detailed reproduction guide, but this error seemingly occurs whenever I edit any file within my workspace. Hopefully the provided logs provide some context.
Nx Report
Failure Logs
Package Manager Version
8.15.1
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: