Unknown problem with vue language server crash
See original GitHub issue- Install vscode extention.
- Go to .vue file
- Get error
Couldn't start client Vue Language Server
. - Zuck.
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.
-
Found
vetur.dev.vlsPath
. -
Install globally vls
npm install vls -g
-
Setup in vscode
settings.json
:"vetur.dev.vlsPath": "C:/Users/admin/AppData/Roaming/nvm/v14.15.3/vls.cmd"
-
Doesn’t work at all.
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?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Settings Reference for Python - Visual Studio Code
Python settings reference. The Python Extension for Visual Studio Code is highly configurable. This page describes the key settings you can work with....
Read more >The Vue Language Server server crashed 5 times in the last 3 ...
Problem. The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. Reproducible Case.
Read more >Why is VSCode "Unable to open Extension. An unknown error ...
It happens that, this is a problem with the Egyptian ISPs' default DNS servers, which are most probably blocking some of Microsoft servers....
Read more >500 Internal Server Error | Apigee Edge
Shows example 500 Internal Server Errors caused by a failure in backend server and shows steps to resolve the errors. Symptom. The client...
Read more >FAQ | Vetur - GitHub Pages
You can run the command Vetur: Restart VLS (Vue Language Server) to restart VLS. However, we'd appreciate it if you can file a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
I had this problem as well and fixed it in the following way
In vetur.config.js before
Note the empty
{}
curly braces. I commented them out:In vetur.config.js after
and then I no longer got the error. Hope this helps!! Obviously there are settings and more projects and a ton of comments in my actual vetur.config.js, I removed them for simplicity.