Skip to content
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

Request textDocument/completion failed. #2862

Open
vCloudSail opened this issue Apr 13, 2021 · 1 comment
Open

Request textDocument/completion failed. #2862

vCloudSail opened this issue Apr 13, 2021 · 1 comment

Comments

@vCloudSail
Copy link

vCloudSail commented Apr 13, 2021

  • [✔] I have searched through existing issues
  • [✔] I have read through docs
  • [✔] I have read FAQ
  • [✔] I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Win
  • Vetur version: 0.33.1
  • VS Code version: 1.55.0

Problem

If a Vue project installs node_modules, it will report this error, and the Vue file cannot use the code hint

[Error - 上午8:37:28] Request textDocument/completion failed. Message: Request textDocument/completion failed with message: Cannot read property 'length' of undefined Code: -32603

image

Reproducible Case

@yoyo930021
Copy link
Member

Please provide a repro case.
https://github.com/vuejs/vetur/blob/master/.github/NO_REPRO_CASE.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants