Closed 4oo4 closed 5 years ago
@4oo4 Could you share package.json of your app? that we can reproduce an issue, it seems that you have some additional extensions, maybe they are incompatible with 0.3.19
@akosyakov Thanks for the quick reply, I think I was just using this from the theia-apps repo, I'll verify that when I get home. https://github.com/theia-ide/theia-apps/blob/master/theia-full-docker/latest.package.json
EDIT: Yep, was using that exact package.json.
@marcdumais-work Could someone investigate what is wrong with theia-full latest docker image?
Hi @akosyakov I tried to build theia-full's latest.package.json
yesterday evening (outside docker) and was not able to reproduce the problems described in this issue.
Thanks @marcdumais-work, I suspect something strange is going on with my docker container itself, I added a few things (mainly installing php-language-server and a few cli tools), so I'm going to try it with the Dockerfile that's in the repo.
OK, when I build the container unmodified from what's in the theia-apps repo (using latest.package.json), I still get the same errors in the console. The editor appears to work again (but doesn't seem to recognize yaml anymore), while the terminal has text that I can read if I copy and paste into something else but just appears as blank in the browser.
EDIT: Just rebuilt the image with the next tag and the Dockerfile from the repo, and that seems to fix the issue (the console errors appear to be unrelated). I think before my docker image had the YAML extension, will have to add that back in. Not sure if more testing needs to be done to see if there's an issue with that Dockerfile, since @marcdumais-work tested latest.package.json. I'm happy to open an issue over in theia-apps or do some more testing. Would you be able to share your build environment, @marcdumais-work ?
Cheers
I'm closing this out since my build is now working, if someone wants to reopen this for further investigation, let me know.
I attempted to rebuild Theia docker today using version 0.3.19, and received the following errors:
The docker container still builds despite this, but when I open Theia after starting the container, the editor interface and terminal fail to load, and I see these errors in the console:
Is there anything that can be done to fix the build and generate those missing .map files, or whatever else might be causing it? I believe I last created my docker image on version 0.3.18 without those issues.
Also, I had to bump up my
--max-old-space-size
up to8192
, or I would get the Javascript heap out of memory error as detailed here, not sure if that's related: https://github.com/theia-ide/theia/issues/4132Cheers
EDIT: Also getting these errors in the console: