-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run #46
Comments
Hi @d01010101 , sorry for the confusing instructions. We will improve them.
Now your client should be ready to be run the first time. If you change code, you need to build this bundle as well as trigger |
I did these steps. I attach the log of the last step, |
Hi, Once the |
The client complains about |
You don't need to install theia. The glsp.log that you attached looks fine. Running Since you manually added some dependencies via npm (
|
Btw, you may also want to make sure you're using the current master branch, as it contains an important server-side update to remain consistent with the GLSP Server dependency. Without this, the Maven build will likely fail. (You need commit |
I downloaded today's snapshot and used the new instructions, and it works. It closes this issue, but I would like to ask before, if it is possible to embed within a web app only the drawing widget, without any IDE around it? I would like to tell it to load an ECORE file, then ask it for snapshots in the same format. |
It's possible, but probably requires a bit of glue code. The client side of Ecore GLSP comes with 2 main packages: So it is possible to reuse the |
It would be enough for me to put it into an iframe and add a layer of simplified API (just new, load, save). It would be nice to have, as apart from Theia, the software would also be an interesting widget for the web. Perhaps I will give it a try one day, but I have no much idea about the emf cloud. |
We actually provide a stand-alone example: https://github.com/eclipse-glsp/glsp-client/tree/master/examples/workflow-standalone |
The web server never shows. I am new to this, possibly the instructions are not detailed enough for the beginner.
Firstly, I unpack the zip from github and follow the instructions:
$ cd server
$ mvn install -U
$ cd ../client
$ nvm install 10
$ nvm use 10
$ npm install -g yarn
$ yarn rebuild:browser
---- it complaint that theia is not found
$ npm install theia
$ yarn rebuild:browser
---- now it complains that webpack and circular-dependency-plugin are missing
$ npm install webpack circular-dependency-plugin
$ yarn rebuild:browser
yarn run v1.22.5
$ theia rebuild:browser
No missing packages found!
Done in 0.25s.
$ cd browser-app
$ yarn start
yarn run v1.22.5
$ theia start
Done in 0.24s.
"Open http://localhost:3000 in the browser" - it does not work - "this site can’t be reached, localhost refused to connect"
The text was updated successfully, but these errors were encountered: