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 Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. #327

Closed
GuangChao-Yu opened this issue Jul 11, 2017 · 20 comments

Comments

@GuangChao-Yu
Copy link

  • Platform: mac
  • Vetur version:0.9.0
  • VSCode version:1.13.1 (1.13.1)

Problem

the vetur not work
my project do not have a tsconfig or jsconfig. Can this be solved?

@wangliverpool
Copy link

Same problem on PC. Vetur 0.9.0 and VSCode 1.14.0.

@HerringtonDarkholme
Copy link
Member

#321

@GuangChao-Yu
Copy link
Author

@HerringtonDarkholme Is there a solution? I've always had this problem

@HerringtonDarkholme
Copy link
Member

Revert to older version or use the latest dev version in #326

@GuangChao-Yu
Copy link
Author

@HerringtonDarkholme my Vetur is latest dev version on 0.9.0

@HerringtonDarkholme
Copy link
Member

Basically you have four options to choose:

  1. read the contributing doc. Learn how to setup vetur in your local machine: https://github.com/vuejs/vetur/blob/master/.github/CONTRIBUTING.md

  2. patiently wait for new release.

  3. revert to older version

  4. switch to webstorm

@GuangChao-Yu
Copy link
Author

@HerringtonDarkholme Well, thank you

@gengjiawen
Copy link

gengjiawen commented Aug 21, 2017

Happens again.

Platform: Mac 10.12.6
Vetur version: 0.9.4
VSCode version: 1.15.1

@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Aug 21, 2017

Please attach valid error callstacks. Otherwise nothing can be done on dev side.

You can find it by ctrl-shit-p => toggle output => select "Vue Language Server" in panel's upper right corner.

@gengjiawen
Copy link

module.js:472
    throw err;
    ^

Error: Cannot find module '@emmetio/extract-abbreviation'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/gengjiawen/.vscode/extensions/octref.vetur-0.9.4/client/node_modules/vscode-emmet-helper/out/emmetHelper.js:9:17)
    at Object.<anonymous> (/Users/gengjiawen/.vscode/extensions/octref.vetur-0.9.4/client/node_modules/vscode-emmet-helper/out/emmetHelper.js:492:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)

@HerringtonDarkholme
Copy link
Member

cd to vetur's directory and manually npm install

@HerringtonDarkholme
Copy link
Member

What's your nodejs version? Do you have nvm or similar things installed?

@gengjiawen
Copy link

I am not using nvm. Node version: v8.4.0.

@gengjiawen
Copy link

cd vetur's client directory and execute npm install fix my issue, thanks.

@ggregg
Copy link

ggregg commented Aug 24, 2017

Just uninstall and reinstall with vs-code fix my issue, thanks :)

@zazaluMonster
Copy link

Just uninstall and reinstall, Everything back to normal:)

@zdpeitang
Copy link

uninstall and reinstall works

@wsw70
Copy link

wsw70 commented Dec 20, 2017

Uninstalling from vscode was not enough for me. After closing vscode I went to C:\Users\<user>\.vscode\extensions and deleted the octref.vetur-... directory.

Restarting vscode and reinstalling fixed the issue.

@meisiwan
Copy link

The new version makes it come back

@octref
Copy link
Member

octref commented Apr 24, 2019

Your issue is different. Likely #1220.

@vuejs vuejs locked as resolved and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants