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

Crashing in VSCode - "The Vue Semantic Server server crashed 5 times in the last 3 minutes" #3336

Closed
meanspa opened this issue Jun 27, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@meanspa
Copy link

meanspa commented Jun 27, 2023

After updating to 1.8.2 Volar started crashing. Downgrading to 1.8.1 fixes it.

Some details:

  • VScode 1.79.2
  • I'm not using Typescript
  • Tried re-installing Volar, didn't help

Error Message:
The Vue Semantic Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

Output:
TypeError: Cannot read properties of undefined (reading 'package.json') at Object.h [as fileExists] (/Users/myusername/.vscode/extensions/vue.volar-1.8.2/dist/server.js:77:1416) at Proxy.x (/Users/myusername/.vscode/extensions/vue.volar-1.8.2/dist/server.js:76:37698) at Object.fileExists (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:139762:40) at host.fileExists (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:116036:43) at Object.fileExists (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:119567:30) at getPackageJsonInfo (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:40352:33) at loadNodeModuleFromDirectory (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:40184:47) at nodeLoadModuleByRelativeName (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:40058:14) at tryResolve (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:39991:27) at nodeModuleNameResolverWorker (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:39925:38)

@meanspa meanspa changed the title Crashing in VScode - "The Vue Semantic Server server crashed 5 times in the last 3 minutes" Crashing in VSCode - "The Vue Semantic Server server crashed 5 times in the last 3 minutes" Jun 27, 2023
@so1ve so1ve added the bug Something isn't working label Jun 27, 2023
@zhuiyue132
Copy link

坐等修复

@DanMelnikov
Copy link

The same problem
VS code 1.78.2
Volar 1.8.2

@PrajjwalArora08
Copy link

PrajjwalArora08 commented Jun 28, 2023

Facing The same problem

@johnsoncodehk
Copy link
Member

Fixed by volarjs/volar.js@b1344bf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants