Im getting the following failure on circle CI (yarn dependency step) that I am not getting locally:
yarn install v0.21.3
[1/4] Resolving packages...
⠁ success Nothing to install.
success Saved lockfile.
$ cd client && yarn install
yarn install v0.21.3
[1/4] Resolving packages...
⠁ [2/4] Fetching packages...
error webpack@2.4.1: The engine "node" is incompatible with this module. Expected version ">=4.3.0 <5.0.0 || >=5.10".
error Found incompatible module
I followed Circle CI’s guidance on using yarn and have exactly what was prescribed in my circle.yml file. The version of Yarn circle CI is using is 0.21.3, which is from two months ago. I ran this locally on 0.23.2 and 0.22.0 without error. It’s possible this is the cause of the error, but I’m unclear how I can update yarn on circle CI (if that’s even possible).
This issue looks similar to the following issue posted on Yarn’s github. However, Yarn’s maintainers don’t want a bug filed if it’s not about the current version. This is understandable given that I’m not able to replicate this issue locally on the current version of Yarn. This makes me think updating yarn on Circle CI is the only path forward to getting a green build.
Any guidance would be greatly appreciated. Thanks in advance!!
Hi @levlaz, Unfortunately, I’m still stuck on this and it’s completely blocking my efforts with Circle CI. I’ve sank a lot of time into trying to fix this myself and can’t justify much more. Is there anything else I should try before I abandon my effort with Circle CI? I’ve used your service before and really like it. If getting a paid plan would get me the support I need to get this project building, I’m totally open to that.
[1/4] Resolving packages...
⠁ ⠂ twilio-chat@^0.13⠄ uuid@^3.0.1⡀ ws@^2.0.3⢀ ultron@~1.1.0⠠ locate-path@^2.0.0⠐ path-exists@^3.0.0[2/4] Fetching packages...
error An unexpected error occurred: "Invalid protocol: git+ssh:".
info If you think this is a bug, please open a bug report with the information provided in "/home/ubuntu/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn -v returned exit code 1
Action failed: yarn -v