赞
踩
报错
- \ruoyi-ui>npm run dev
-
- > ruoyi@3.8.5 dev
- > vue-cli-service serve
-
- INFO Starting development server...
- 95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported
- Error: error:0308010C:digital envelope routines::unsupported
- at new Hash (node:internal/crypto/hash:69:19)
- at Object.createHash (node:crypto:133:10)
- at D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:243:42
- at CompressionPlugin.compress (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:284:9)
- at D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:305:12
- at _next1 (eval at create (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:14:17)
- at eval (eval at create (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:33:1)
- at D:\yuguang\DrugGuide\ruoyi-ui\node_modules\copy-webpack-plugin\dist\index.js:91:9
解决办法
SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。