Dear All,
We are facing this error while deploying new version of our MDK APP from SAP BAS.
It's working fine yesterday we started facing this issue.
It seems it's about node version, the logs are below.
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/util/createHash.js:46:50)
at RawSource.updateHash (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack-sources/lib/RawSource.js:64:8)
at NormalModule._initBuildHash (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/NormalModule.js:870:17)
at handleParseResult (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/NormalModule.js:936:10)
at /home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/NormalModule.js:1028:4
at processResult (/home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/NormalModule.js:745:11)
at /home/user/.node_modules_global/lib/node_modules/@sap/mdk-tools/node_modules/webpack/lib/NormalModule.js:809:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.14.2