vue3.0运行报错

Node.js 17版本opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error’ ]
报错描述
D:\workspace\ideaproject\RuoYi-Cloud\ruoyi-ui>npm run dev

[email protected] dev
vue-cli-service serve

INFO Starting development server…
10% building 2/5 modules 3 active …ader\index.js??ref–13-0!D:\workspace\ideaproject\RuoYi-Cloud\ruoyi-ui\src\main.jsError: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at module.exports (D:\workspace\ideaproject\RuoYi-Cloud\ruoyi-ui\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\workspace\ideaproject\RuoYi-Cloud\ruoyi-ui\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\workspace\ideaproject\RuoYi-Cloud\ruoyi-ui\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\workspace\ideaproj

你可能感兴趣的:(webpack,前端,javascript)