Couldn't start client Vue Language Server.Google setup for vetur extention for vscode.
Update vetur.config.js from this.
module.exports = {
projects: [{ root: './nuxt' }]
}
To this
module.exports = {
projects: [{ root: './nuxt', globalComponents: './components/**/*.vue' }]
}
Nothing changes.
Go to vscode settings.
vetur.dev.vlsPath.npm install vls -gsettings.json:json
"vetur.dev.vlsPath": "C:/Users/admin/AppData/Roaming/nvm/v14.15.3/vls.cmd"
The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted
How do I get this thing to work? Is it really possible to do it?
I get that you're frustrated, but maybe reconsider the approach you take here with the issue title and all...
I get that you're frustrated, but maybe reconsider the approach you take here with the issue title and all...
But what did I do wrong?
Hard to say. Won't discuss any further with that title up.
I'm sorry you're having problems.
but your message does not allow us to help you.
vetur.dev.vlsPath and npm install vls -g.Vetur: Show Output Channel command and paste message here.The computer world is complex.
We will do our best to fix the possible problems, but we will need your help.
If you can provide more information, you can help us be better together.
Hello @yoyo930021, thank you for contributing to this issue. I just got the same behavior. As you said earlier I tried to run Vetur: Show Output Channel command, I got following: Command 'Vetur: Show Output Channel' resulted in an error (command 'vetur.showOutputChannel' not found)
Tried to run VLS on clean vue-cli project and it works, so I getting this error only at my project with quasar framework.
How I can help you to find a solution?
One thing that I got it from VSC DevTools:

@vostokwork change the title of this issue to something descriptive, if it possible, please :)
Hello @yoyo930021, thank you for contributing to this issue. I just got the same behavior. As you said earlier I tried to run
Vetur: Show Output Channelcommand, I got following:Command 'Vetur: Show Output Channel' resulted in an error (command 'vetur.showOutputChannel' not found)Tried to run VLS on clean vue-cli project and it works, so I getting this error only at my project with quasar framework.
How I can help you to find a solution?One thing that I got it from VSC DevTools:
Hmm, the command will failed when Vue language server crash.....
Can you find it in Output -> Vue Language Server in vscode?
If you can provide a repro case, I can study it quickly.
In the future,we will try to collect errors remotely with the user's allow.
@yoyo930021 no, there no Vue Language Server at Output dropdown.
Right now I cant find a way how to recreate my case for you. I'll try more in future.
Also I found interesting thing: I duplicate my project folder one-to-one/as-is to one folder up:
was: ~/user/git/project-name/frontend
become: ~/user/git/frontend
And VLC now starting. After that I decided to play around that. But not matter I tried to do I couldn't find out what going wrong.
But anyway, some features are still broken: for example, I couldn't go to definition to computed prop.
So i'm so confused about that magic happens... So, unfortunately, I'm forced to do my job at WebStorm for a while...
OMG, I found out what going wrong, feels like a fool.
at ~/user/git/project-name I put vutur.config.js, where was a syntax mistake.
Below how it's looking right now:
module.exports = {
settings: {
"vetur.useWorkspaceDependencies": true,
"vetur.experimental.templateInterpolationService": true
},
projects: [
'./frontend',
]
}
And now it's working, but I cant use go to definition to most of data props and computed props.
Any workaround here?
@vostokwork check your vutur.config.js config. And share your folder structure my be it could help.
Seems that go to definition issue is about experimental interpolation service and do not related to this one. So, this issue is resolved for me now, thanks again for contributing
Hello everyone, I make a special version for debugging.
This version will send the error to sentry and I can study it.
If anyone can try to use it, I would be grateful.
Steps:
Hello everyone, I make a special version for debugging.
This version will send the error to sentry and I can study it.If anyone can try to use it, I would be grateful.
Steps:
- Uninstall the original extension.
- Download zip and unzip
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
- Test it.
- crash
- comment in this post.
i have try the steps and still crash , sorry if i wrong , i dont understand
https://github.com/vuejs/vetur/issues/2820#issuecomment-807982365

Most helpful comment
Hello @yoyo930021, thank you for contributing to this issue. I just got the same behavior. As you said earlier I tried to run
Vetur: Show Output Channelcommand, I got following:Command 'Vetur: Show Output Channel' resulted in an error (command 'vetur.showOutputChannel' not found)Tried to run VLS on clean vue-cli project and it works, so I getting this error only at my project with quasar framework.
How I can help you to find a solution?
One thing that I got it from VSC DevTools:
