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
你好。访问接口504错误是啥原因呢? #15
Comments
api接口请用 |
好的。谢谢,可以了 |
请问我也是504错误 ,是修改.env.js吗? |
@Nebulazheng 上面不是说了:api接口请用npm run server跑起来么... |
Node默认不支持ES6的import语法,需要用babel转义一下。 |
可以运行了谢谢 |
请问 我启动项目可以正常运行登录了,但我尝试用postman去post登录接口,会返回用户不存在,console models/user.js中getUserByName(name)函数的name是undefind,在启动vue页面登录时打印出来正常 |
npm run dev跑起来之后,
登陆接口报错
[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: