V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
Just1n
V2EX  ›  MongoDB

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

  •  
  •   Just1n · Feb 13, 2014 · 4204 views
    This topic created in 4463 days ago, the information mentioned may be changed or developed.
    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这个文件是干嘛用的?这个错误怎么破?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2468 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:38 · PVG 15:38 · LAX 00:38 · JFK 03:38
    ♥ Do have faith in what you're doing.