流星蒙戈错误 [英] Meteor Mongo error

查看:39
本文介绍了流星蒙戈错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚设置了一个meteor localhost应用程序,当试图在linux终端上执行meteor mongo"时,它显示了这个错误:

I have just set up a meteor localhost app, and when trying to execute "meteor mongo" on the linux terminal, it shows this error:

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.

我该怎么办??

推荐答案

大致内容:

在一个终端中运行 meteor.

在第一个终端仍在运行时在另一个终端中运行 meteor mongo.

Run meteor mongo in another terminal while the first one is still running.

这篇关于流星蒙戈错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆