Skip to content

can't build image #316

@Jason-Linux

Description

@Jason-Linux

I can't build the image from dockerfile still block at 12/16 when npm build

LOG :

/bin/sh: git: not found
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
node:internal/crypto/hash:79
this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (/app/app/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/app/app/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/app/app/node_modules/webpack/lib/NormalModule.js:471:10)
at /app/app/node_modules/webpack/lib/NormalModule.js:503:5
at /app/app/node_modules/webpack/lib/NormalModule.js:358:12
at /app/app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/app/app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/app/app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /app/app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/app/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /app/app/node_modules/babel-loader/lib/index.js:59:71
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
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.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions