前端

code: 'ERR_OSSL_EVP_UNSUPPORTED' 好像之前遇到过

node:internal/crypto/hash:68
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports.__webpack_modules__.57442.module.exports (C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:135907:62)
    at NormalModule._initBuildHash (C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:109317:16)
    at C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:109352:10
    at C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:109223:13
    at C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:61151:11
    at C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:61017:18
    at context.callback (C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\webpack\4\bundle4.js:60895:13)
    at C:\Users\VSC\Desktop\软件著作权申请\代码\临时代码参考代码\在线客服系统\service-frontend-master\node_modules\@umijs\deps\compiled\babel-loader\index.js:1:130029 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.11.1

 

果然 与 http://blog.i9bao.cn/index.php?v=show&cid=63&id=1241 这篇文章有相似之处