-
Notifications
You must be signed in to change notification settings - Fork 4
Language server lsp-vue has crashed, do you want to restart it? #23
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
Comments
Check ST console and |
Check also the other log panel that I've mentioned. You can open it from command palette. And the contents of Vue file can also be the reason. |
OK, I switched to the log panel with two messages: |
That still doesn't tell us anything. |
Did you try removing the Vetur language server from Sublime’s Cache dir? Perhaps the installation did not succeed. When Vetur is removed, this package will re-install it. |
It's probably easier to just reinstall lsp-vue package than hunting the cache directory. That will also clear the cache. There is one thing I forgot to mention before... To possibly see the error that vetur throws, you also should enable all |
In sublime's cash directory, I did not find the vetur language server. There is a folder called vue -language -server. In its subdirectory, there is the vetursnippets folder. |
From your logs:
Is the file |
I don't think it's really supposed to be present on a typical Vue app. Would have to look at vetur code to see why it's expecting that. |
@Guanqing-cool could you first sort out some more fundamental issues like:
? Maybe install ST properly in Program Files and then try it out again. Could also move your project to user's Documents for example. |
It's also suspicious that you have LSP installed in |
I also installed sublime on disk D, but it still have the same problem. Is it because I use the portable version of sublime? |
What version of node are you running? |
v12.14.1 |
I'm running the same vetur code, tried same node version and same lsp-vue settings and still can't reproduce. The error about |
I've booted my Windows machine and was actually able to reproduce easily there. Turns out the new version of VLS doesn't crash so I've created PR to update to latest version - #24 |
I made it work for now by using the If the You will then need to manually use the newly compiled version in the plugin. It has an error in linking definitions from the template though. Everything else seem to work fine. It would be great if we can define the binary from the settings instead of relying for it to automatically install node dependencies in the background. I hope you can make yours work 😄 |
The whole point of We know that new VLS version has another crashing issue, that's why we are holding off with #24 . We could manually compile it, or add extra dependencies, but we'd rather avoid that extra work and just wait for upstream to release new version. |
Should be fixed in just released version https://github.com/sublimelsp/LSP-vue/releases/tag/0.0.18 |
After downloading the lsp-vue , I can't use it. Open the Vue file and the message "language server LSP Vue has crashed, do you want to restart it?". It's still useless to restart it. What causes the language server to fail?And how do I fix it。
The text was updated successfully, but these errors were encountered: