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/codeAction failed with message: #3657

Closed
williantenfen opened this issue Feb 22, 2023 · 5 comments
Closed

Request textDocument/codeAction failed with message: #3657

williantenfen opened this issue Feb 22, 2023 · 5 comments
Assignees
Labels

Comments

@williantenfen
Copy link

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

Info

  • Platform: macOS 13.2.1
  • Vetur version: 0.37.2
  • VS Code version: 1.75.1
  • TypeScript version:
  • Vetur output:
Output

Vetur initialized
[INFO ] Loaded bundled typescript@4.9.5.
[INFO ] Loaded bundled prettier.
[INFO ] Loaded bundled @starptech/prettyhtml.
[INFO ] Loaded bundled prettier-eslint.
[INFO ] Loaded bundled prettier-tslint.
[INFO ] Loaded bundled stylus-supremacy.
[INFO ] Loaded bundled @prettier/plugin-pug.
[Error - 3:44:47 PM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: (0 , rCe.default)(...).filter is not a function
  Code: -32603

- Vetur doctor output
Doctor output

<!-- Run VSCode command `Vetur: Show doctor info` -->

Problem

 [error] Request textDocument/codeAction failed with message: (0 , rCe.default)(...).filter is not a function: Error: Request textDocument/codeAction failed with message: (0 , rCe.default)(...).filter is not a function
	at /Users/willian/.vscode/extensions/octref.vetur-0.37.2/dist/vueMain.js:1:62402
	at /Users/willian/.vscode/extensions/octref.vetur-0.37.2/dist/vueMain.js:1:62696
	at Immediate.<anonymous> (/Users/willian/.vscode/extensions/octref.vetur-0.37.2/dist/vueMain.js:1:63061)
	at process.processImmediate (node:internal/timers:466:21)

Reproducible Case

Open vue project in VScode, vetur keeps loading and never finishes..

@zcoop98
Copy link

zcoop98 commented Feb 22, 2023

Can repro here too, I get a slightly different error but the same effect, where Vetur loads the project forever and IntelliSense never comes online using Vetur 37.2 in a Vue 2.6 project.

Vetur output:

Vetur initialized
[INFO ] Loaded bundled typescript@4.9.5.
[INFO ] Loaded bundled prettier.
[INFO ] Loaded bundled @starptech/prettyhtml.
[INFO ] Loaded bundled prettier-eslint.
[INFO ] Loaded bundled prettier-tslint.
[INFO ] Loaded bundled stylus-supremacy.
[INFO ] Loaded bundled @prettier/plugin-pug.
[Error - 5:42:37 PM] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: (0 , rCe.default)(...).filter is not a function
  Code: -32603 

No output comes from Vetur: Show Doctor info

The notification pane just loads forever:
image

Manually invoking IntelliSense with Ctrl+Space just shows "Loading...":
image

I strongly suspect that the folks behind #3651, #3652, & #3654 are experiencing this same issue.

Downgrading back to v36.1 "resolves" the issue for the moment while this gets sorted out.

@yoyo930021
Copy link
Member

Release in v0.37.3

@JenuelDev
Copy link

any update on this?

@yoyo930021
Copy link
Member

yoyo930021 commented Feb 23, 2023

any update on this?

Release and fix in v0.37.3

@williantenfen
Copy link
Author

wow that was fast.. thanks!

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

No branches or pull requests

4 participants