The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
martinandersen3d opened this issue · comments
VS Code
Windows 10 64 Pro
Anyone know how to fix?
Vs code > Output > Crane Language Server:
throw err;
^
Error: Cannot find module './providers/workspaceSymbol'
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\Martin\.vscode\extensions\HvyIndustries.crane-0.3.8\server\server.js:17:27)
at Object.<anonymous> (C:\Users\Martin\.vscode\extensions\HvyIndustries.crane-0.3.8\server\server.js:399: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)
[Info - 17:10:55] Connection to server got closed. Server will restart.
module.js:472
throw err;
^```
Which version of VS Code do you have?
okay found solution...
-
in commandpromt cd directory and execute npm install in this dir:
C:\Users<username>.vscode\extensions\HvyIndustries.crane-0.3.8 -
Just uninstall and reinstall "php intellisence crane" inside vs-code.
This fix my issue:)
When did this happend? > Right after windows reinstall