actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.49k stars 1.2k forks source link

Sometimes Error: Cannot find module '/var/run/act/actions/actions-cache@v3/dist/restore/index.js' #1223

Closed seepine closed 6 months ago

seepine commented 1 year ago
      - uses: actions/cache@v3
        with:
          path: node_modules
          key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
截屏2023-08-23 15 47 36_副本
node:internal/modules/cjs/loader:936
  throw err;
  ^
Error: Cannot find module '/var/run/act/actions/actions-cache@v3/dist/restore/index.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 5 days since being marked as stale.