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
Unknown problem with vue language server crash #2724
Comments
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.
The computer world is complex. |
Hello @yoyo930021, thank you for contributing to this issue. I just got the same behavior. As you said earlier I tried to run Tried to run VLS on clean vue-cli project and it works, so I getting this error only at my project with quasar framework. |
@vostokwork change the title of this issue to something descriptive, if it possible, please :) |
Hmm, the command will failed when Vue language server crash..... If you can provide a repro case, I can study it quickly. |
@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: 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 So i'm so confused about that magic happens... So, unfortunately, I'm forced to do my job at WebStorm for a while... UPDATEOMG, I found out what going wrong, feels like a fool. at Below how it's looking right now:
And now it's working, but I cant use @vostokwork check your Seems that |
Hello everyone, I make a special version for debugging. If anyone can try to use it, I would be grateful. Steps:
|
i have try the steps and still crash , sorry if i wrong , i dont understand |
I had this problem as well and fixed it in the following wayIn vetur.config.js before// vetur.config.js
/** @type {import('vls').VeturConfig} */
module.exports = {
settings: {},
projects: [
"./packages/repo1",
{
// many comments here from template
}
]
}; Note the empty In vetur.config.js after// vetur.config.js
/** @type {import('vls').VeturConfig} */
module.exports = {
settings: {},
projects: [
"./packages/repo1",
// {
// many comments here from template
// }
]
}; and then I no longer got the error. Hope this helps!! |
I applied the first answer (setting the root fixed mine)
, and also doing this:
|
@igolka97 still have this issue. Structure: vetur config: module.exports = {
projects: [{
root: './nuxt',
}]
} |
Couldn't start client Vue Language Server
.Google setup for vetur extention for vscode.
Update vetur.config.js from this.
To this
Nothing changes.
Go to vscode settings.
Found
vetur.dev.vlsPath
.Install globally vls
npm install vls -g
Setup in vscode
settings.json
:Doesn't work at all.
How do I get this thing to work? Is it really possible to do it?
The text was updated successfully, but these errors were encountered: