我刚刚设置了一个meteor localhost应用程序,当试图在linux终端上执行“meteor mongo
”时,它显示了以下错误:
mongo: Meteor isn't running a local MongoDB server.
This command only works while Meteor is running your application locally. Start
your application first. (This error will also occur if you asked Meteor to use
a different MongoDB server with $MONGO_URL when you ran your application.)
If you're trying to connect to the database of an app you deployed with
'meteor deploy', specify your site's name with this command.
我该怎么办?
答案 0 :(得分:3)
几乎所说的内容:
在一个终端中运行meteor
。
在第一个终端仍在运行时,在另一个终端中运行meteor mongo
。