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

IDE几个问题 #1

Open
ggchxx opened this issue Mar 2, 2017 · 8 comments
Open

IDE几个问题 #1

ggchxx opened this issue Mar 2, 2017 · 8 comments
Assignees
Labels

Comments

@ggchxx
Copy link

ggchxx commented Mar 2, 2017

1.创建新项目,单击运行的时候,打开IOS模拟器,一直运行一个播放视频页面,内容跟main.we无关
2.生成的QRCode无法显示

@778477
Copy link
Contributor

778477 commented Mar 3, 2017

感谢反馈。

问题1,播放视频页面是一个welcome页面,点击视频任何位置即可进入预览main.we。这个交互确实会存在误区,下个版本计划去掉视频播放

问题2,得确认一下复现路径

@778477 778477 added the question label Mar 3, 2017
@778477 778477 self-assigned this Mar 3, 2017
@ggchxx
Copy link
Author

ggchxx commented Mar 3, 2017

找到这几个问题的原因了,是运行时端口异常,
错误提示 getaddrinfo ENOTFOUND localhost localhost:7001
换了几个端口都是这个错误,localhost改为本机IP依然不行

@778477
Copy link
Contributor

778477 commented Mar 3, 2017

可以通过命令行

lsof -i :7001

查看7001端口使用的进程号

COMMAND   PID       USER   FD   TYPE            DEVICE SIZE/OFF NODE NAME
node    66470 guomiaoyou   16u  IPv6 0xc1c184b38a0be49      0t0  TCP *:afs3-callback (LISTEN)

kill 66470。 重新运行,验证是否为端口占用问题。

@NickolasHu
Copy link
Contributor

NickolasHu commented Mar 3, 2017

可以通过设置里面修改预览服务的端口号. 默认使用7001端口.

设置(command+,) -> Packages -> weex-run -> Settings -> Dumpling Port 中修改

@ggchxx
Copy link
Author

ggchxx commented Mar 3, 2017

MacBook-Pro:~ zbmobi$ lsof -i :8555
MacBook-Pro:~ zbmobi$ lsof -i :8555
COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    47974 zbmobi   29u  IPv6 0x76baf58df4105f1b      0t0  TCP *:d-fence (LISTEN)
MacBook-Pro:~ zbmobi$

已确认 不是端口占用的问题,还是上面的错误
配置也已更改

"*":
  "exception-reporting":
    userId: "8624b6a9-34b8-b896-083c-d4a171787ddd"
  "weex-run":
    defaultUDID: "D748CB21-59F2-4A4E-8AF9-C8FAFDA02720"
    dumplingPort: 8555

@778477
Copy link
Contributor

778477 commented Mar 3, 2017

仍使用 8555端口配置启动。尝试访问 http://localhost:8555/,页面中是否展示出二维码?

能否提供完整的错误信息,有助于排查。

@zhaoweijing2003
Copy link

zhaoweijing2003 commented Apr 21, 2017

啥时候能推出对windows的支持,如果能做出类似微信小程序IDE那样就太好用了

@778477
Copy link
Contributor

778477 commented May 22, 2017

windows 版本,项目成员正在支持开发中。。

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

No branches or pull requests

4 participants