问题描述
我已经安装了mongodb,还创建了data/db文件夹,还添加了此路径
I have installed mongodb, and also created data/db folders and also add this path
在
计算机属性>高级系统设置>环境变量>路径"
"Computer Properties>Advanced system setting>Environment Variables>path"
我在本教程.
但是,当我在cmd中运行"mongo"命令时,会引发错误消息
However, when I'm running "mongo" command in my cmd it throws an error that
该问题的可能解决方法是什么?
What is the possible solution to this problem?
推荐答案
问题是作为Visual Studio 2015的Visual C ++可再发行组件的一部分KB2999226(通用CRT)无法安装.
The problem is that the KB2999226 (Universal CRT) which is part of the Visual C++ Redistributable for Visual Studio 2015 failed to install.
修复:
-
根据您的操作系统单击下面的链接进行下载
Download by clicking below link according to your operating system
对于Windows 64位---------> vc_redist.x64
For Windows 64-bit ---------> vc_redist.x64
对于Windows 32位---------> vc_redist.x86
For Windows 32-bit ---------> vc_redist.x86
安装vc_redist.x64.exe或vc_redist.x64.exe
Install vc_redist.x64.exe or vc_redist.x64.exe
重新启动系统.
最后,您可以安装无法启动按摩的程序因为缺少api-ms-win-crt-runtime-l1-1-0.dll.
Finally, you can install your program which have massage can't startbecause api-ms-win-crt-runtime-l1-1-0.dll is missing.
这篇关于无法运行Mongodb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!