Building for production...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at Object.createHash (node:crypto:139:10)
at module.exports (/tmp/build/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/tmp/build/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/tmp/build/node_modules/webpack/lib/NormalModule.js:471:10)
at /tmp/build/node_modules/webpack/lib/NormalModule.js:503:5
at /tmp/build/node_modules/webpack/lib/NormalModule.js:358:12
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array. (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/tmp/build/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /tmp/build/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:114
throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at Object.createHash (node:crypto:139:10)
at module.exports (/tmp/build/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/tmp/build/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/tmp/build/node_modules/webpack/lib/NormalModule.js:471:10)
at /tmp/build/node_modules/webpack/lib/NormalModule.js:503:5
at /tmp/build/node_modules/webpack/lib/NormalModule.js:358:12
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /tmp/build/node_modules/cache-loader/dist/index.js:147:7
at /tmp/build/node_modules/graceful-fs/graceful-fs.js:57:14
at FSReqCallback.oncomplete (node:fs:194:23) {
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'
}
Node.js v20.12.0
-----> Build failed
Building for production... Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:80:19) at Object.createHash (node:crypto:139:10) at module.exports (/tmp/build/node_modules/webpack/lib/util/createHash.js:135:53) at NormalModule._initBuildHash (/tmp/build/node_modules/webpack/lib/NormalModule.js:417:16) at handleParseError (/tmp/build/node_modules/webpack/lib/NormalModule.js:471:10) at /tmp/build/node_modules/webpack/lib/NormalModule.js:503:5 at /tmp/build/node_modules/webpack/lib/NormalModule.js:358:12 at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:373:3 at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:214:10) at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:221:10) at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:236:3 at runSyncOrAsync (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:130:11) at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:232:2) at Array. (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/tmp/build/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /tmp/build/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:114
throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at Object.createHash (node:crypto:139:10)
at module.exports (/tmp/build/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/tmp/build/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/tmp/build/node_modules/webpack/lib/NormalModule.js:471:10)
at /tmp/build/node_modules/webpack/lib/NormalModule.js:503:5
at /tmp/build/node_modules/webpack/lib/NormalModule.js:358:12
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/tmp/build/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /tmp/build/node_modules/cache-loader/dist/index.js:147:7
at /tmp/build/node_modules/graceful-fs/graceful-fs.js:57:14
at FSReqCallback.oncomplete (node:fs:194:23) {
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'
}
Node.js v20.12.0
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here: https://devcenter.heroku.com/articles/troubleshooting-node-deploys
Some possible problems:
Node version not specified in package.json https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
Love, Heroku
Cleaning up project directory and file based variables 00:01 ERROR: Job failed: exit code 1