node:14.xx,16.20.2,18.20.3都试过
系统:macOS 14.5
Hbuildx: 最新版本
问题:不管是pc项目还是小程序项目,只要在vue中设置代理,就会出现这种情况,请求是好时坏,但是如果用Hbuildx启动小程序,在微信开发者工具中就正常,不会出现请求超时的情况。
Hbuildx中问题提示:Proxy error: Could not proxy request /api/platform/captcha/get from localhost:8080 to http://10.58.104.70:7001. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ETIMEDOUT).
其他:在macOS 12.x时,没出现这种情况,自从升级到macOS14才出现的,不直达是什么原因。