npm run build报错
static/js/chunk-7a0b2364.aec18f2d37340e02a178.js from Terser
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
解决办法,用node17以下版本
npm run build报错
static/js/chunk-7a0b2364.aec18f2d37340e02a178.js from Terser
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
解决办法,用node17以下版本