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

Disable image cache #535

Closed
3 tasks done
jlarmstrongiv opened this issue Jul 6, 2022 · 3 comments
Closed
3 tasks done

Disable image cache #535

jlarmstrongiv opened this issue Jul 6, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jlarmstrongiv
Copy link

jlarmstrongiv commented Jul 6, 2022

Description:
Is there a way to disable the image cache? It causes crashes with npm/npx scripts not being found.

Action version:
actions/setup-node@v3

Platform:

  • Ubuntu

Runner type:

  • Hosted
  • Self-hosted

Tools version:
node-version: lts/gallium
packageManager: [email protected]

Repro steps:
N/A

Expected behavior:
Ability to disable all caches

Actual behavior:
Unable to find how to disable node cache.

Please note that I am not using cache: 'npm'. I am referring to the image cache.

Any workarounds like clearing a cache path beforehand are welcome.

@jlarmstrongiv jlarmstrongiv added bug Something isn't working needs triage labels Jul 6, 2022
@marko-zivic-93
Copy link
Contributor

Hello @jlarmstrongiv
Thank you for letting us know about this issue :) We will investigate it and come back to you as soon as we have some info about it :)

@dmitry-shibanov
Copy link
Contributor

Hello @jlarmstrongiv. Thank you for your report. You can try to use check-latest to download version from node-version. What issue with npm/npx do you have ? Could you please provide public repository to reproduce it ? Npm and npx are added in the PATH.

@dmitry-shibanov dmitry-shibanov self-assigned this Jul 7, 2022
@jlarmstrongiv
Copy link
Author

Hi @dmitry-shibanov and @marko-zivic-93 ! Thanks for getting back to me. After investigating today, it appears that the issue was introduced in npm in 8.13.x. I have created an issue npm/run-script#91 and pr npm/run-script#92 to resolve it.

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

No branches or pull requests

3 participants