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

The JS/TS language service immediately crashed 5 times #4240

Closed
tomi opened this issue Apr 9, 2024 · 8 comments
Closed

The JS/TS language service immediately crashed 5 times #4240

tomi opened this issue Apr 9, 2024 · 8 comments

Comments

@tomi
Copy link

tomi commented Apr 9, 2024

I am getting the following error with the Vue - Official v2.0.10 extension with the https://github.com/n8n-io/n8n repository

The JS/TS language service immediately crashed 5 times. The service will not be restarted. This may be caused by a plugin contributed by one of these extensions: Vue.volar. Please try disabling these extensions before filing an issue against VS Code.

Tried with:

  • Vue › Server: Hybrid Mode : false --> Still crashes
  • Vue › Server: Hybrid Mode : auto --> Still crashes
  • Vue › Server: Hybrid Mode : true --> Still crashes

VSCode version:

Version: 1.88.0
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-03T13:28:09.495Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
@aronsuarez
Copy link

aronsuarez commented Apr 10, 2024

I have the same issue, all extensions disabled except Vue.

The issue happens on a fresh created vue project

Plugin version: 2.0.12

VSCode version:
Version: 1.88.0
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-03T13:28:09.495Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

@masawik
Copy link

masawik commented Apr 11, 2024

+ 1
nuxt project

Version: 1.89.0-insider
Date: 2024-04-10T05:50:02.508Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19045

@masawik
Copy link

masawik commented Apr 11, 2024

Installing earlier version (2.0.6) of vue extension fixed it for me

@cdenadai
Copy link

The only thing that solved for me was use the 1.87v from codium. I can't find Microsoft vscode on older versions for ubuntu.

@tkane2000
Copy link

I went back to v1.8.27 to fix the issue.

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Apr 12, 2024

I can't reproduce this problem in https://github.com/n8n-io/n8n. Please try updating to v2.0.12, if it still crashes, you can configure "vue.server.hybridMode": false to completely disable the TS plugin (only applicable to >= 2.0.11, see #4206).

@EwenQuim
Copy link

Still got this error with the latest versions of VSCode and Vue extension

image

Vue

v2.0.12

VSCode

Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

@vincerubinetti
Copy link

vincerubinetti commented May 1, 2024

Okay, I was having this problem, but strangely, only in a React project (I use both Vue and React heavily at my job). In a Vue project, it's fine.

The JS/TS language service immediately crashed 5 times. The service will not be restarted. This may be caused by a plugin contributed by one of these extensions: Vue.volar. Please try disabling these extensions before filing an issue against VS Code.

Setting hybridMode to false fixed it for me (in React, TS doesn't crash anymore, and I still have type safety in Vue).

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

No branches or pull requests

8 participants