【发布时间】:2015-11-16 14:52:16
【问题描述】:
在 Cloud9 (c9.io) IDE 上创建一个默认的流星应用程序,添加 twbs:bootstrap,然后运行。结果:
Unexpected mongo exit code null. Restarting.
Can't start Mongo server.
下面是一个测试项目的输出,我在其中创建了一个默认应用,添加了引导程序并运行。
user:~/workspace $ meteor add twbs:bootstrap
Changes to your project's package version selections:
twbs:bootstrap added, version 3.3.5
twbs:bootstrap: The most popular front-end framework for developing responsive, mobile first projects on the web.
user:~/workspace $ meteor --port $IP:$PORT
[[[[[ ~/workspace ]]]]]
=> Started proxy.
=> Started MongoDB.
Unexpected mongo exit code null. Restarting.
Unexpected mongo exit code null. Restarting.
Unexpected mongo exit code null. Restarting.
Can't start Mongo server.
Killed
失败后,我从项目中删除了引导程序并重新运行。
user:~/workspace $ meteor remove twbs:bootstrap
Changes to your project's package version selections:
twbs:bootstrap removed from your project
twbs:bootstrap: removed dependency
user:~/workspace $ meteor --port $IP:$PORT
[[[[[ ~/workspace ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://0.0.0.0:8080/
...meteor项目启动成功。
有没有办法让流星应用在 Cloud9 上通过引导程序运行?
【问题讨论】:
-
请查看建议in this SO question
标签: twitter-bootstrap meteor cloud9-ide