【问题标题】:Error When Running Default Meteor App With Bootstrap On Cloud9在 Cloud9 上使用 Bootstrap 运行默认 Meteor 应用程序时出错
【发布时间】: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 上通过引导程序运行?

【问题讨论】:

标签: twitter-bootstrap meteor cloud9-ide


【解决方案1】:

Mutahhir 提供的解决方案有效。

在运行您的应用程序之前运行meteor update,这样c9.io 就不会耗尽内存。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-26
    • 1970-01-01
    • 2019-02-07
    • 2018-05-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多