Skip to content
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

Open
angusjiang opened this issue Aug 9, 2017 · 21 comments
Open

运行接口都跪了 #3

angusjiang opened this issue Aug 9, 2017 · 21 comments

Comments

@angusjiang
Copy link

运行 npm run webapp 开启的http://localhost:8080/#/ 端口是8080
运行 npm run local 接口http://localhost:3000/api/pages?type=h5 开始的端口3000

这样没有问题吗?

image

@wesdint
Copy link
Collaborator

wesdint commented Aug 9, 2017

两个服务跑两个不同的端口有问题吗?你这个错误是什么场景出现的

@angusjiang
Copy link
Author

就是运行程序之后直接出现了,首页昵

@wesdint
Copy link
Collaborator

wesdint commented Aug 9, 2017

你是先启动了webapp服务,然后才启动local服务的吧,接口服务都没启动,请求当然被拒绝啦,刷新一下就好了

@angusjiang
Copy link
Author

我又更换了启动的顺序,刷新多少次,都是一样的结果,都是报错。
image
感觉和xhr有关系啊

@wesdint
Copy link
Collaborator

wesdint commented Aug 9, 2017

接口服务确定启动成功了吗? 控制台打印出了 “localhost 当前环境”?

@angusjiang
Copy link
Author

image
这样算是启动成功了吗?
控制台没有打印当前环境
image

@wesdint
Copy link
Collaborator

wesdint commented Aug 9, 2017

服务没有跑起来,很奇怪,没有报任何错,你试试用cmd启动,或者把node更新到最新的版本

@angusjiang
Copy link
Author

还是不行啊,node 6.9的,比较新了

@zhengguorong
Copy link
Owner

直接执行node ./bin/www看有什么错误出来吗?

@angusjiang
Copy link
Author

image
是数据库连接的问题吗

@zhengguorong
Copy link
Owner

是的

@aleoyu
Copy link

aleoyu commented Sep 20, 2017

我运行也是以上的错误。有没有目录文档相关说明。

@aleoyu
Copy link

aleoyu commented Sep 20, 2017

图层不能删除

@aleoyu
Copy link

aleoyu commented Sep 20, 2017

好像.png不支持

@vickytaozi
Copy link

image

@zhengguorong
Copy link
Owner

@vickytaozi mongodb数据库启动了吗

@zhengguorong
Copy link
Owner

@aleoyu 选中元素按delete键

@a331210877
Copy link

![Uploading Q8DL}28MHRDWWV]RW6PI`8O.png…]()
直接访问列表不会跳转登录。 注册和登录没什么问题。 好多接口都报这个错。
我不是学这个的。。你那个演示里感觉很好。需要用你这个,大哥可不可以把最新代码给我啊

@shaozhibin
Copy link

shaozhibin commented Mar 28, 2018

image

改一下app.js数据库链接方式,mongoose.connect改为mongoose.createConnection

@xtylzsy
Copy link

xtylzsy commented Jun 6, 2018

遇到了同样的问题,如何解决的?

@manba24
Copy link

manba24 commented Jul 5, 2018

手机预览。。有的动画为什么不执行呢?而且浏览完了 再向上翻页的时候 动画都不执行了(ios9下,是不是动画兼容性问题,用ios11测试没问题)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants