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

Replace 'zeit/ncc' with 'vercel/ncc' #116

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

NotMyFault
Copy link
Contributor

@NotMyFault NotMyFault commented Feb 11, 2024

While working on #115, I noticed that 'yarn build' fails with the following error:

➜  actions-label-merge-conflict git:(main) yarn build   
yarn run v1.22.21
$ ncc build sources/main.ts
ncc: Version 0.22.3
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at hashOf (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:58216)
    at module.exports (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:60642)
    at runCmd (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:47355)
    at 819 (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:44227)
    at __webpack_require__ (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:169)
    at startup (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:339)
    at module.exports.8 (/Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:371)
    at /Users/alex/github/actions-label-merge-conflict/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:381 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Given I can replicate the same error on the default branch, I filed this PR independently of my other PR.

According to the warning on the NPM page of zeit ncc it's eol.
Clicking on the GH repository URL of zeit ncc redirects to vercel ncc.

Copy link
Owner

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@eps1lon eps1lon merged commit 4a9388e into eps1lon:main Mar 23, 2024
1 of 2 checks passed
@NotMyFault NotMyFault deleted the replace-zeit-vercel branch March 23, 2024 16:16
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.

2 participants