Code will present the message "The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted." upon opening any .vue file.
Any more error info? I'm guessing maybe it's only on Windows.
Where would I be able to find more detailed error information? The developers tools' console only says "The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.".
Is there anywhere else I could check?
I get this on Windows:
Error: Cannot find module 'lodash'
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> (C:\Users\chris\.vscode\extensions\octref.vetur-0.9.3\client\node_modules\vue-language-server\dist\vueServerMain.js:8:11)
at Object.<anonymous> (C:\Users\chris\.vscode\extensions\octref.vetur-0.9.3\client\node_modules\vue-language-server\dist\vueServerMain.js:227: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)
@ckaczor Go to C:\Users\chris\.vscode\extensions\octref.vetur-0.9.3\client\ and run npm install.
@tiago-plank
Where would I be able to find more detailed error information?
In output panel, find Vue Language Server.

@octref That fixed it - thanks! Not sure how those weren't there but I probably should have though of that.
Turns out I was getting the same error as @ckaczor, except the suggested fix did not work.
On the other hand, reinstalling the extension (which in hindsight, I should have tried from the start) did fix it.
@tiago-plank Thanks for letting me know. Yeah sometimes when VSCode upgrade extensions, dependencies are not installed correctly, and that might be causing the problem.
I had this issue when opening a folder from a network resource in windows directly : code \\server\shared\folder\proj1
Vue Languaje Server shows: unable to open file \server\shared\folder\proj1\whatever.vue
(note the single slash in front of server)
As a workaround I mapped it to a unit letter and worked.
Not sure if it's some kind of bug or just a windows limitation.
As you said did not work, I reinstall it solved
Debugger listening on port 6005.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:6005/f1a623ff-9d58-4945-8ae6-2ec46ad23a1d
module.js:472
throw err;
^
Error: Cannot find module '/Users/bianlin/.vscode-insiders/extensions/octref.vetur-0.11.3/server/dist/vueServerMain.js'
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 Server.
at emitOne (events.js:96:13)
at Server.emit (events.js:191:7)
at Pipe.onconnection (net.js:1486:8)
[Info - 15:00:19] Connection to server got closed. Server will restart.
Debugger listening on port 6005.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:6005/1ab41303-376e-4fda-bbef-cdce5bbc963d
module.js:472
throw err;
^
Error: Cannot find module '/Users/bianlin/.vscode-insiders/extensions/octref.vetur-0.11.3/server/dist/vueServerMain.js'
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 Server.
at emitOne (events.js:96:13)
at Server.emit (events.js:191:7)
at Pipe.onconnection (net.js:1486:8)
[Info - 15:00:19] Connection to server got closed. Server will restart.
Debugger listening on port 6005.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:6005/59ce3be6-2ad3-4c08-a9b4-919a39851583
module.js:472
throw err;
^
Error: Cannot find module '/Users/bianlin/.vscode-insiders/extensions/octref.vetur-0.11.3/server/dist/vueServerMain.js'
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 Server.
at emitOne (events.js:96:13)
at Server.emit (events.js:191:7)
at Pipe.onconnection (net.js:1486:8)
[Error - 15:00:19] Connection to server got closed. Server will not be restarted.
thanks
Most helpful comment
@ckaczor Go to
C:\Users\chris\.vscode\extensions\octref.vetur-0.9.3\client\and runnpm install.