-
|
I am just upgrading from glsp version 2.1 to 2.3. Theia Integration works fine now. I see the following javascript error in the web console: I can't really location the source of this error messages. I am running this with an external stared java sever. And I can see that the client seems to connect to the server: But the editor plane is empty and no modler plane is loaded. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @rsoika, if I'm not mistaken this error occurs if two different versions of In theory all GLSP components depend on the same fixed version of It is set to If have opened #1481 to track this. Until a fix is available you can use yarn resolutions to fix the version. Just add the following to your root package.json: "resolutions": {
"**/vscode-jsonrpc": "8.2.0"
}After rebuilding you can verify that everything worked correctly with |
Beta Was this translation helpful? Give feedback.
Hi @rsoika,
if I'm not mistaken this error occurs if two different versions of
vscode-jsonrpcare resolved. (see also #1182).In theory all GLSP components depend on the same fixed version of
vscode-jsonrpc(8.2.0) but it seems like we overlooked to adapt the dependency of@eclipse-glsp/vsocde-integrationaccordinglyIt is set to
^8.0.2wich means it will resolve to the latest 8.x version. At the point of the 2.3 release this version was8.2.0that's why everything worked back then. In the meantime a new version got released which means every vscode-integration based project might run into this issue.If have opened #1481 to track this.
Until a fix is available you can use yarn resolutions…