-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ENOTEMPTY errors since setting cache: npm
#303
Comments
Seeing the same on |
Hello @gr2m. Thank you for your report. It looks like you're getting the wrong cache. I'm not sure that it's related to Hello @viceice. You're getting the error because cached path does not exist. If you take a look on the previous green builds you'll notice that cache archive is empty. The related issue is #281. Your path's output contains color addition, that is why it can't find such directory. |
@dmitry-shibanov Thank, that fixed it for us. |
Thanks for checking @dmitry-shibanov. Feel free to close the issue, I will comment or reopen if I find out more. Maybe the problem was caused by caching that was done previously using the |
Thank you for your responses. I'm closing the issue. Feel free to contact us, if you have any questions. |
@gr2m , it is not related to previous caching using The issue is related to
I guess removing this step is not the option for you so I think changing step order will solve your issue (I have removed other steps to simplify):
Why this approach will work - the first command will modify |
I'll try that approach, thanks Maxim! |
…actions#303) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I have seen several instances of this error in the past few days across several @octokit repositories
Example: https://github.com/octokit/types.ts/runs/3126289089?check_suite_focus=true#step:6:4
We recently enabled the
cache: npm
across all @octokit repositories, so it's pretty likely that the error is related. I'm cannot be 100% sure, but I thought it'd be worth creating the issue to see if others run into it, too.Do you have any idea what it could be?
The text was updated successfully, but these errors were encountered: