问题: 执行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的值为空,没有填入,填入后解决错误!

相关文章:

  • 2021-10-27
  • 2021-04-28
  • 2021-11-22
  • 2021-10-27
  • 2021-10-01
  • 2021-08-09
  • 2021-09-08
  • 2021-05-15
猜你喜欢
  • 2021-08-06
  • 2021-08-19
  • 2021-11-02
  • 2021-11-01
  • 2021-11-22
  • 2021-11-14
  • 2022-01-08
  • 2021-11-20
相关资源
相似解决方案