Cannot yarn build the client in glsp-examples #1484
Replies: 1 comment
-
Got resolved after installing the compatible version of Node, Yarn, and Python. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am following the glsp's getting started guide (https://eclipse.dev/glsp/documentation/gettingstarted/), wherein I am encountering the following exception while building the examples java-emf-theia and node-json-theia.
In the glsp examples, the yarn build:client operation fails with exceptions like:
C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\src\win\winpty.cc(209,8): error C2362: initialization of 'spawnSuccess' is skipped by 'goto cleanup' [C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\build\pty.vcxproj]
C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\src\win\winpty.cc(238,1): see declaration of 'cleanup'
C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\src\win\winpty.cc(176,22): error C2362: initialization of 'error_ptr' is skipped by 'goto cleanup' [C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\build\pty.vcxproj]
C:\GLSP_Theia_VSCode\glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\src\win\winpty.cc(238,1): see declaration of 'cleanup'
This exception is observed only in the yarn build:client operation, at multiple lines, wherever the line goto cleanup is present in the file glsp-examples\project-templates\java-emf-theia\glsp-client\node_modules\node-pty\src\win\winpty.cc
Beta Was this translation helpful? Give feedback.
All reactions