New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代理端口号出错 #31
Comments
➜ vue-koa-demo git:(master) ✗ npm run server
[nodemon] 1.12.1 试过换端口,losf查端口占用,重启等都一样是报这个错,单跑npm run server 提示 Koa is listening in undefined |
请问你的 |
文件 dev.env 内容是: Mac 10.13.4 系统 |
。。。并不能叫做 |
嗯,正常跑起来了,感谢~~ |
➜ vue-koa-demo git:(master) ✗ npm run dev && npm run server
[HPM] Proxy created: /auth -> http://localhost:8889
[HPM] Proxy created: /api -> http://localhost:8889
DONE Compiled successfully in 5084ms 17:02:41
[HPM] Error occurred while trying to proxy request /auth/user from localhost:8080 to http://localhost:8889 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
The text was updated successfully, but these errors were encountered: