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

deprecatedになってたのでnode versionを上げる #38

Merged
merged 4 commits into from
Mar 22, 2024

Conversation

imaharu
Copy link
Contributor

@imaharu imaharu commented Mar 22, 2024

タイトル通り

PublicリポジトリなのでIssueリンクは貼り付けてないです。

"@types/node": "^17.0.2",
"@vercel/ncc": "^0.33.1",
"@types/node": "^20.11.30",
"@vercel/ncc": "^0.38.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

node version 上げたことによってエラーになったので version up

vercel/ncc#805

$ ncc build --source-map --license licenses.txt
Debugger listening on ws://127.0.0.1:59313/171ac505-aa1e-4395-8c52-1ff8d123cfc6
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
ncc: Version 0.33.1
ncc: Compiling file index.js into CJS
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/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1890023)
    at ncc (/Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1894690)
    at runCmd (/Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:52268)
    at 819 (/Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:48838)
    at __webpack_require__ (/Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59076)
    at /Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59288
    at /Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:59349
    at Object.<anonymous> (/Users/ryohta.ochi/globis/sre-actions/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

@imaharu imaharu requested review from a team, mutao-net and satoru-shibano and removed request for a team March 22, 2024 06:23
@imaharu imaharu merged commit 6ba129b into main Mar 22, 2024
3 checks passed
@imaharu imaharu deleted the node_version_up branch March 22, 2024 06:38
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