Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

weex-toolkit 在docker中create一个demo项目命令行会卡住 #392

Closed
luckzhiwei opened this issue May 17, 2018 · 3 comments
Closed

Comments

@luckzhiwei
Copy link

我是一个weex的初学者,
然后根据 官方教程
我pull 了一个node的docker image,tag是8.1.0,然后用这个命令启动了一个容器,在容器中输入
npm config set registry http://registry.npm.taobao.org/
npm install weex-toolkit -g
weex create awesome-app
然后会提示我输入项目的名称,然后就卡住了,ctrl+c都不能动,截图如下

我后来换了node:6.14.2 镜像就可以了,想请问下weex团队这是为什么,是weex-toolkit在node 8.0有问题吗?谢谢

@erha19
Copy link
Contributor

erha19 commented May 18, 2018

@luckzhiwei I have tested on my platform using [email protected], it can be work fine, maybe that's a docker issue, hope you can provide more information about this issue.

@erha19
Copy link
Contributor

erha19 commented May 18, 2018

@luckzhiwei I found the issue here SBoudrias/Inquirer.js#547, that's because the Node 8.1.0 breaks the behavior when using nested/subsequent calls, you should not use this version and it has been fixed on [email protected].

@erha19 erha19 closed this as completed May 18, 2018
@luckzhiwei
Copy link
Author

luckzhiwei commented May 18, 2018

Yes,I try the node:@8.1.2 , the problem is sloved.Thankyou

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

No branches or pull requests

2 participants