V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
Just1n
V2EX  ›  MongoDB

mongo.exe 系统找不到指定路径

  •  
  •   Just1n · 2014-02-13 14:42:07 +08:00 · 3683 次点击
    这是一个创建于 3725 天前的主题,其中的信息可能已经有所发展或是发生改变。
    windows8.1环境。
    第一次运行mongo.exe时,会在我的文档里生成一个.mongorc.js文件。
    关掉mongo.exe后再次运行,就会报“系统找不到指定路径”这样的错误。
    如果删掉.mongorc.js文件,就一切正常。当然,加一个--norc参数也可以。
    我的用户名是中文,我初步怀疑是这个原因。

    看了下官方文档
    --norc
    Prevents the shell from sourcing and evaluating ~/.mongorc.js on start up.

    没太看明白,.mongorc.js这个文件是干嘛用的?这个错误怎么破?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5447 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:49 · PVG 16:49 · LAX 01:49 · JFK 04:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.