Skip to content
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

The e2e-cache tests are failing on Yarn 1 (Node 14) #881

Closed
4 tasks done
trivikr opened this issue Oct 25, 2023 · 3 comments · Fixed by #882
Closed
4 tasks done

The e2e-cache tests are failing on Yarn 1 (Node 14) #881

trivikr opened this issue Oct 25, 2023 · 3 comments · Fixed by #882
Assignees
Labels
bug Something isn't working

Comments

@trivikr
Copy link
Contributor

trivikr commented Oct 25, 2023

Description:

The e2e-cache tests are failing on Yarn 1 (Node 14)

Action version:
N/A, the issue is in CI

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted

Tools version:
Yarn 1

Repro steps:
https://github.com/actions/setup-node/actions/workflows/e2e-cache.yml?query=is%3Afailure

Expected behavior:
Yarn 1 (Node 14) to be either successful, or removed.

Actual behavior:
Failing with the following error:

yarn install v1.22.19
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error @azure/core-util@1.[6](https://github.com/actions/setup-node/actions/runs/6630653626/job/18027423341?pr=880#step:8:7).1: The engine "node" is incompatible with this module. Expected version ">=16.0.0". Got "14.21.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
@trivikr trivikr added bug Something isn't working needs triage labels Oct 25, 2023
@nikolai-laevskii
Copy link
Contributor

Thank you for the issue! We'll look into it and come back with the details

@trivikr
Copy link
Contributor Author

trivikr commented Oct 25, 2023

We'll look into it and come back with the details

I've posted a fix at #882

@maoryadin
Copy link

I have also yarn 1.22.21, and also for me it happens: .nvmrc is v21.5.0 and it install 20.8.1:
The engine "node" is incompatible with this module. Expected version ">= 21.1.0". Got "20.8.1"
@trivikr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants