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

Vue Language Server Crashes in VSCode + Nuxt #3937

Closed
madebyfabian opened this issue Mar 2, 2024 · 7 comments · Fixed by #3961
Closed

Vue Language Server Crashes in VSCode + Nuxt #3937

madebyfabian opened this issue Mar 2, 2024 · 7 comments · Fixed by #3961

Comments

@madebyfabian
Copy link

madebyfabian commented Mar 2, 2024

I have a larger Nuxt 3 app running at 3.10.3. Since today (updated the VSCode extension to 2.0.2) the plugin crashes and I get this:

["[...dynamicSlug]","RouterView","RouterLink","StoryblokComponent","StoryblokRichtextImage","StoryblokRichtextLink","StoryblokImg","StoryblokRichtextContainer","PageArticle","PageAuthor","PageSerpSeo","AccordionItem","ArticleAccordionSection","ArticleButtonLink","ArticleCallout","ArticleChecklist",... 
(SHORTENED) "modalInjectionKey","navigateTo","nextTick","onActivated","onBeforeMount","onBe[Error - 12:07:58] Server process exited with code 1.
[Error - 12:07:58] The Vue server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

in the output logs.

The long array contains all of my component names and various other auto-imports (I shortened it for the sake of simplicity).

Not sure how to provide a reproduction, but I am happy to do.

@hopkins385
Copy link

same here

[Info  - 15:05:30] Connection to server got closed. Server will restart.
true
undefined:1
...
[Error - 15:05:30] Server process exited with code 1.
[Error - 15:05:30] The Vue server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

package.json

    "nuxt": "^3.9.3",
    "typescript": "^5.3.3",

System:

Node: v21.1.0
MacOS: 14.1.2

@realityfilter
Copy link

Same here. Additional output before error message reads:

[Vue Named Pipe Client] Error: connect ECONNREFUSED /tmp/vue-tsp-54831
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/tmp/vue-tsp-54831'
}

@handanyolak
Copy link

Is there any update on this?

@ydnikolaev
Copy link

got same today

  • downgrade Vue Official to v1.8.27,
  • re-enable Volar,
  • turn on Takeover mode

works fine

@maprangsoft
Copy link

maprangsoft commented Mar 3, 2024

got same today

  • downgrade Vue Official to v1.8.27,
  • re-enable Volar,
  • turn on Takeover mode

works fine

i use nuxt 3 and @pinia/nuxt use auto import after extension update to latest
auto import not working downgrade dont work for me.
Screen Shot 2567-03-03 at 14 06 09

@baikov
Copy link

baikov commented Mar 3, 2024

Same error on Vue Official 2.0.3
Returned Takeover mode

@maprangsoft
Copy link

maprangsoft commented Mar 4, 2024

got same today

  • downgrade Vue Official to v1.8.27,
  • re-enable Volar,
  • turn on Takeover mode

works fine

i use nuxt 3 and @pinia/nuxt use auto import after extension update to latest auto import not working downgrade dont work for me. Screen Shot 2567-03-03 at 14 06 09

in my case i found node_modules folder in path ~/ of mac i test delete folder node_modules and run nuxt project again auto import is working
problem has resolved. ^__^

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

Successfully merging a pull request may close this issue.

7 participants