Vetur: The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.

Created on 11 Jul 2017  路  20Comments  路  Source: vuejs/vetur

Problem

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

Most helpful comment

The new version makes it come back

All 20 comments

Same problem on PC. Vetur 0.9.0 and VSCode 1.14.0.

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

Revert to older version or use the latest dev version in https://github.com/vuejs/vetur/pull/326

@HerringtonDarkholme my Vetur is latest dev version on 0.9.0

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

@HerringtonDarkholme Well, thank you

Happens again.

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

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.

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)

cd to vetur's directory and manually npm install

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

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

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

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

Just uninstall and reinstall, Everything back to normal:)

uninstall and reinstall works

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.

The new version makes it come back

Your issue is different. Likely https://github.com/vuejs/vetur/issues/1220.

Was this page helpful?
0 / 5 - 0 ratings