当前位置:   article > 正文

INFO Starting development server...95% emitting CompressionPlugin ERROR Error: error:0308010C:dig_info starting development server... 95% emitting c

info starting development server... 95% emitting compressionplugin error err

报错

  1. \ruoyi-ui>npm run dev
  2. > ruoyi@3.8.5 dev
  3. > vue-cli-service serve
  4. INFO Starting development server...
  5. 95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported
  6. Error: error:0308010C:digital envelope routines::unsupported
  7. at new Hash (node:internal/crypto/hash:69:19)
  8. at Object.createHash (node:crypto:133:10)
  9. at D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:243:42
  10. at CompressionPlugin.compress (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:284:9)
  11. at D:\yuguang\DrugGuide\ruoyi-ui\node_modules\compression-webpack-plugin\dist\index.js:305:12
  12. at _next1 (eval at create (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:14:17)
  13. at eval (eval at create (D:\yuguang\DrugGuide\ruoyi-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:33:1)
  14. 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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/916303
推荐阅读
相关标签
  

闽ICP备14008679号