问题: 执行Vue项目时报错Vue ERROR TypeError: Cannot read property ‘upgrade’ of undefined?

描述: 给vue项目增加了本地代理,也就是给vue.config.js增加了devServer之后,启动项目报错:Vue ERROR TypeError: Cannot read property ‘upgrade’ of undefined

解决: 这个错误实际上时因为代理地址为空导致的,检查后发现proxy属性中的target的值为空,没有填入,填入后解决错误!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2021-08-06
相关资源
相似解决方案