这个问题我已经解决了!研究了三天没啥进展,后来在google搜了一下github上http-proxy-midlleware主页issue里面有个大神说过了window系统必须这样在proxy.conf.json写"target":"127.0.0.1:8888",使用本地电脑ip.如果用localhost就会报错。
这个问题我已经解决了!
研究了三天没啥进展,后来在
google
搜了一下github上http-proxy-midlleware
主页issue里面有个大神说过了window系统必须这样在proxy.conf.json写"target":"127.0.0.1:8888"
,使用本地电脑ip.如果用localhost就会报错。