digital envelope routines::unsupported
leo-je opened this issue · comments
Bundle with webpack 5...
Starting the development server...
● Webpack █████████████████████████ building (10%) 0/2 entries 2/2 dependencies 0/2 modules 2 active
babel-loader › src/.umi/umi.ts
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:140:10)
done.
export NODE_OPTIONS=--openssl-legacy-provider
你好,已收到,谢谢!