在 Cloud9 上 运行 默认 Meteor 应用程序 Bootstrap 时出错
Error When Running Default Meteor App With Bootstrap On Cloud9
在 Cloud9 (c9.io) 上创建一个默认的 meteor 应用 IDE,添加 twbs:bootstrap,以及 运行。结果:
Unexpected mongo exit code null. Restarting.
Can't start Mongo server.
下面是一个测试项目的输出,我在其中创建了一个默认应用程序,添加了 bootstrap 和 运行。
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
失败后,我从项目中删除了bootstrap并重新运行。
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 上获取流星应用 运行 bootstrap?
Mutahhir提供的解决方案有效。
运行 meteor update
在 运行 应用程序之前 c9.io
不会 运行 内存不足。
在 Cloud9 (c9.io) 上创建一个默认的 meteor 应用 IDE,添加 twbs:bootstrap,以及 运行。结果:
Unexpected mongo exit code null. Restarting.
Can't start Mongo server.
下面是一个测试项目的输出,我在其中创建了一个默认应用程序,添加了 bootstrap 和 运行。
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
失败后,我从项目中删除了bootstrap并重新运行。
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 上获取流星应用 运行 bootstrap?
Mutahhir提供的解决方案有效。
运行 meteor update
在 运行 应用程序之前 c9.io
不会 运行 内存不足。