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

Typescript not working due to vue-language-server error #55

Closed
cabeeb opened this issue Jan 14, 2023 · 2 comments
Closed

Typescript not working due to vue-language-server error #55

cabeeb opened this issue Jan 14, 2023 · 2 comments

Comments

@cabeeb
Copy link

cabeeb commented Jan 14, 2023

I haven't been able to get Typescript working in Vue SFCs. Autocomplete and syntax highlighting work great, but no TS. When I look in the extension console, I see this error:
-32603 Request textDocument/codeAction failed with message: host.getVueCompilationSettings is not a function

I've tried reinstalling @volar/vue-language-server globally, installing it to the project, specifying absolute paths to both global and project installations, but it always gives the same error. I also tried uninstalling the plugin and reinstalling, but no luck. Any guidance would be greatly appreciated!

@cabeeb
Copy link
Author

cabeeb commented Jan 15, 2023

Follow-up: I installed @volar/vue-language-server@0.40.13 (the last version before 1.0.0 was released last October) and it works fine, so I'm assuming it's a breaking change that hasn't been accounted for in this package. Easy enough to workaround in the meantime 👍

@johnsoncodehk
Copy link
Contributor

Please wait for #54.

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

No branches or pull requests

2 participants