theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 345 forks source link

Yarn v2 bump? #432

Closed cyrilcros closed 3 years ago

cyrilcros commented 3 years ago

Hi, Could you please bump yarn to 1.21 or higher in your images? I am trying to use it inside the theia-full Docker image with a yarn pnp enabled project. Sadly, this bug prevents me from doing so: https://github.com/yarnpkg/yarn/issues/7642 I tried building a new Docker image from your Dockerfile and got the following error: “Step 18/58 : ADD $version.package.json ./package.json ADD failed: stat /var/lib/docker/tmp/docker-builder190942786/latest.package.json: no such file or directory“

vince-fugnitto commented 3 years ago

@cyrilcros please feel free to provide a pull-request to update the yarn environment version in the images.

vince-fugnitto commented 3 years ago

I see you've updated the title to berry v2 yarn, unfortunately it is not yet supported by the upstream framework:

cyrilcros commented 3 years ago

Thanks for your very fast replies, I guess I will just submit tonight a pull request with an updated ‘classic’ yarn version.