Meteor.js mongodb版本 [英] Meteor.js mongodb version

查看:77
本文介绍了Meteor.js mongodb版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题,但我对某些事情感到困惑.我已经将mongodb 2.6.4(latest)版本下载到了我的mac,并删除了包含可执行文件和其他内容的旧mongodb文件夹.但是,每当我从meteor.js应用程序执行"meteor mongo"命令时,它就会打开MongoDB Shell版本2.4.9,而不是最新版本.为什么会这样呢?这个旧版本从哪里来?如何在meteor.js应用程序中使用最新版本? 谢谢

This may be a dumb question, but I am confused about something. I have downloaded mongodb 2.6.4(latest) version to my mac, and deleted old mongodb folder which had executables and other stuff. But whenever I execute 'meteor mongo' command from my meteor.js application, it is opening MongoDB shell version 2.4.9, not the latest one. Why is this happening? Where is this old version is coming from? How can I use the latest version in meteor.js application? Thank you

推荐答案

当您运行curl https://install.meteor.com | sh

这样做是为了避免安装麻烦,他们可以将正确的受支持版本与其捆绑在一起.

It does this so its not a hassle to install and they can bundle the correct supported versions with it.

由于某些oplog的差异,Meteor尚未正式支持2.6.4,尽管您可以在没有oplog且没有问题的情况下使它工作,而在有问题的oplog情况下.

Meteor doesn't yet officially support 2.6.4 on the account of some oplog differences, though you can get it to work without the oplog without any issues, and with the oplog with a couple of issues.

这篇关于Meteor.js mongodb版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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