Closed asrul10 closed 1 year ago
I am using node v18.12.1.
The @zeit/ncc caused the build to fail.
After changing to @vercel/ncc that never happened.
> better-firebase-functions@4.0.0 build > rm -rf ./lib/ && ncc build src/index.ts -o lib/ -m && tsc -d --declarationDir lib/types --emitDeclarationOnly ncc: Version 0.22.3 ncc: Compiling file index.js Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at hashOf (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:58216) at module.exports (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:60642) at runCmd (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:47355) at 819 (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:44227) at __webpack_require__ (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:169) at startup (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:339) at module.exports.8 (/web/better-firebase-functions/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:371) at /web/better-firebase-functions/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' }
:tada: This PR is included in version 5.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I am using node v18.12.1.
The @zeit/ncc caused the build to fail.
After changing to @vercel/ncc that never happened.