-
Notifications
You must be signed in to change notification settings - Fork 398
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
运行不起来啊,请补充一下详细的代理设置方法可以吗? #3
Comments
// 如果运行出现代理错误 请确保 config 文件下 index.js proxyTable代理正确 // 直接运行代理应为 // 通过运行node-api请求本地api代理应为 |
install 之后修改端口,然后再run dev就好了 |
app.js:999 POST http://localhost:8888/user/userInfo 404 (Not Found) // 大佬,好奇怪啊! 代理配置设置成了:http://mall.yucccc.com:3333 还是请求不成功啊! // 请问除了config 文件下 index.js proxyTable代理 设置外,还需要配置什么地方吗? |
配置之后有没重启项目 启动的时候有没显示转发 或者查看mall.yucccc.com是否还在正常运行
| |
cyt
邮箱:[email protected]
|
签名由 网易邮箱大师 定制
在2018年02月01日 08:54,Roberto Wong 写道:
app.js:999 POST http://localhost:8888/user/userInfo 404 (Not Found)
dispatchXhrRequest @ app.js:999
xhrAdapter @ app.js:833
dispatchRequest @ app.js:1406
Promise resolved (async)
request @ app.js:1225
Axios.(anonymous function) @ app.js:1245
wrap @ app.js:1642
(anonymous) @ app.js:29625
F @ app.js:4534
fetchPost @ app.js:29624
userInfo @ app.js:29574
(anonymous) @ app.js:29676
iterator @ app.js:17012
step @ app.js:16786
runQueue @ app.js:16794
confirmTransition @ app.js:17041
transitionTo @ app.js:16943
init @ app.js:17568
beforeCreate @ app.js:15609
callHook @ app.js:20884
Vue._init @ app.js:22545
Vue$3 @ app.js:22648
./src/main.js @ app.js:29698
webpack_require @ app.js:708
fn @ app.js:113
0 @ app.js:29984
webpack_require @ app.js:708
(anonymous) @ app.js:806
(anonymous) @ app.js:809
app.js:1337 Uncaught (in promise) Error: Request failed with status code 404
// 大佬,好奇怪啊! 代理配置设置成了:http://mall.yucccc.com:3333 还是请求不
// 请问除了config 文件下 index.js proxyTable代理 设置外,还需要配置什么地方吗?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我也是在项目启动的时候遇到了问题,报Uncaught (in promise) Error: timeout of 5000ms exceeded 请问是什么回事啊 求助、1!!! |
我直接install完了然后启动项目的时候是运行不起来的,而且我也不清楚本地的那个代理 希望您可以加我的QQ54423923 希望得到您的帮助 万分感谢!!! |
麻烦把错误贴出来 @SummerGC |
@SummerGC 少了个 , |
什么时候有个介绍文档,我们也好学习学习 |
项目运行之后,接口504,应该是node服务没启动,但又没找到这个项目如何启动后端服务的说明,求助楼主~ |
:9999/users/userInfo Failed to load resource: the server responded with a status of 504 (Gateway Timeout)
createError.js?f777:16 Uncaught (in promise) Error: Request failed with status code 504
at createError (createError.js?f777:16)
at settle (settle.js?199f:18)
at XMLHttpRequest.handleLoad (xhr.js?14ed:77)
The text was updated successfully, but these errors were encountered: