marko-js / language-server

Marko autocomplete, intellisense and editor support.
MIT License
38 stars 8 forks source link

VSCode IntelliSense does not load/work anymore #155

Closed MiloCasagrande closed 1 year ago

MiloCasagrande commented 1 year ago

marko-vscode@1.0.10

Details

With version 1.0.10 of the marko VSCode extension installed, the JS/TS language service does not work anymore.

This is the error I see on VSCode:

The JS/TS language service immediately crashed 5 times. The service will not be restarted. This may be caused by a plugin contributed by one of these extensions: Marko-JS.marko-vscode, VisualStudioExptTeam.vscodeintellicode, VisualStudioExptTeam.vscodeintellicode.

And from the output console:

2023-04-06 09:24:26.855 [error] Error: <semantic> TypeScript Server Error (5.0.3)
Cannot read properties of undefined (reading 'resolutions')
TypeError: Cannot read properties of undefined (reading 'resolutions')

Downgrading to 1.0.9 the JS/TS language service works fine again. Not sure this is something with the marko VSCode extension of with VSCode itself though.

Your Environment

DylanPiercey commented 1 year ago

I believe this is resolved by https://github.com/marko-js/language-server/pull/156. Feel free to ping if that's not the case.