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

Fix: 'reserveCache failed: Cache already exists' #17

Merged
merged 11 commits into from
May 10, 2024

Conversation

ManasJayanth
Copy link
Member

Cache keys could be namespaced with arch now that darwin is supported both on x86 and arm64

@ManasJayanth ManasJayanth force-pushed the prometheansacrifice/fix-cache-conflicts-on-darwin branch from f691067 to 0b827df Compare May 10, 2024 10:38
Cache keys could be namespaced with arch now that darwin is supported
both on x86 and arm64
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:80:19)
    at Object.createHash (node:crypto:139:10)
    at hashOf (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1890023)
    at ncc (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1894655)
    at runCmd (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:52268)
    at 819 (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:48838)
    at __webpack_require__ (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59076)
    at /Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59288
    at /Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59349
    at Object.<anonymous> (/Users/username/development/esy/github-action/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) {
  opensslErrorStack: [
    'error:03000086:digital envelope routines::initialization error',
    'error:0308010C:digital envelope routines::unsupported'
  ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

ncc constraint needs to be relaxed
: update lock files
@ManasJayanth ManasJayanth force-pushed the prometheansacrifice/fix-cache-conflicts-on-darwin branch from 62a0e2e to 7d19ccb Compare May 10, 2024 13:22
@ManasJayanth ManasJayanth merged commit 9fc1d68 into master May 10, 2024
5 checks passed
@ManasJayanth ManasJayanth deleted the prometheansacrifice/fix-cache-conflicts-on-darwin branch May 10, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant