-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Package installation fails in most cases #443
Comments
Hello @reichhartd. Thank you for your report. Could you please provide a public repository to reproduce the issue ? If it's not possible could you please provide package-lock.json ? |
Hello @reichhartd |
Hi @dmitry-shibanov, |
Good morning @dmitry-shibanov, I have created a demo repository: https://github.com/tokenstreet-tech/SetupNodeDemo There are two open pull requests:
Both of them are failed at the beginning. I repeated number 2 until the workflow succeeded: Run 1: https://github.com/tokenstreet-tech/SetupNodeDemo/actions/runs/2088376094 Run actions/setup-node@v3.1.0:
Run yarn install --frozen-lockfile --ignore-scripts:
How I explain the error so far is that it tries to read the packages from the cache (although it is deactivated), does not find the packages and then fails. Thank you for your support! |
Hello @reichhartd. Thank you for your response. Every separate jobs run on the clean machine, that is why the cache should be empty. It looks like the issue comes from the yarn itself. There are similar issues:
For now I'm going to close the issue. If you have any concerns feel free to ping us. |
Description:
When a package has been updated,
yarn install --frozen-lockfile --ignore-scripts
fails in most cases.We receive error messages according to the following pattern:
The folders and modules vary each time.
However, the error should never occur because we have never activated caching:
Action version:
v3.0.0
Platform:
Runner type:
Tools version:
yarn
Repro steps:
Use this action as described above.
Expected behavior:
That this action works reliably with and without caching.
Actual behavior:
yarn install --frozen-lockfile --ignore-scripts
fails in the most cases.The text was updated successfully, but these errors were encountered: