This project is relatively old and uses vue-cli. In the development environment, there will always be several interface timeouts, and the terminal reports the following errors
[HPM] Error occurred while trying to proxy request /file/preview/waterMarkQuery from localhost:8666 to http://XXXXXXX.XXXXXX.cn:18080/api/ (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /oa/workCalendar/query from localhost:8666 to http://XXXXXXX.XXXXXX.cn:18080/api/ (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /org/account/logout from localhost:8666 to http://XXXXXXX.XXXXXX.cn:18080/api/ (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
Later I found the answer here, modified the proxy configuration, added the following code
'headers':{'Connection': "keep-alive" }
After the modification, although the project can be started normally, occasionally the terminal will still report an error,But these problems do not appear on windows system!