【发布时间】:2017-04-10 16:53:06
【问题描述】:
我刚刚完成了我全新的 debian wheezy 发行版的安装。我想安装流星框架,所以我做了:
sudo curl https://install.meteor.com/ | sh
按照官方meteor website的推荐,但是在安装过程中我在新建一个meteor项目后输入meteor时出现这个错误:
=> Started proxy.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Can't start Mongo server.
MongoDB failed global initialization
Looks like MongoDB doesn't understand your locale settings. See
https://github.com/meteor/meteor/issues/4019 for more details
事实上,一旦一个新项目创建并在编码后运行,meteor 命令在 3000 端口上运行一个 localhost web 服务器,然后我们可以看到 web 应用程序。
我不明白为什么会出现此错误。我的问题可能来自我的 debian 发行版吗?
【问题讨论】:
-
糟糕,我的第一句话好像不见了……原来是“大家好”
-
再来一条丁字裤,我已经看到了最后的链接,问题自行解决了,但不幸的是几个小时后它对我不起作用......
-
感谢 peak 编辑我的帖子。我尝试重新安装debian,但问题仍然存在。
-
问题解决了吗?
-
是的,很抱歉让您久等了。通过更改语言环境解决了问题。 "locale-gen en_US.UTF8 localedef -i en_US -f UTF-8 en_US.UTF-"
标签: javascript node.js mongodb meteor