Cannot find module 'langium' #1169
-
It might be just me, but when I switched today from langium 1.3.0 to 2.0.0, VS Code began complaining that it Am I the only one who is seeing this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Just saw the module format changes described in https://github.com/eclipse-langium/langium/blob/main/packages/langium/CHANGELOG.md#v200-aug-2023. I will follow the guide to try and upgrade. I'm wondering if it would be faster to just run the yeoman generator and move my project files over. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the false alarm here. The upgrade was pretty straightforward. I mostly had to change my imports by appending '.js' at the end to match the module format requirements. |
Beta Was this translation helpful? Give feedback.
Just saw the module format changes described in https://github.com/eclipse-langium/langium/blob/main/packages/langium/CHANGELOG.md#v200-aug-2023. I will follow the guide to try and upgrade.
I'm wondering if it would be faster to just run the yeoman generator and move my project files over.