gpt4 book ai didi

node.js - 无法运行 Mongodb

转载 作者:太空宇宙 更新时间:2023-11-04 02:11:45 25 4
gpt4 key购买 nike

我已经安装了 mongodb,还创建了 data/db 文件夹并添加了此路径

"C:\Program Files\MongoDB\Server\3.4\bin"

in

"Computer Properties>Advanced system setting>Environment Variables>path"

正如我在 this tutorial 中看到的那样.

但是,当我在 cmd 中运行“mongo”命令时,它会抛出一个错误

the program can't start because api-ms-win-crt-runtime-l1-1-0.dll ismissing from your computer. Try to reinstall the program to fix theproblem.

这个问题可能的解决方案是什么?

最佳答案

问题是作为 Visual C++ Redistributable for Visual Studio 2015 一部分的 KB2999226(通用 CRT)安装失败。

修复:

  1. 根据您的操作系统点击下面的链接进行下载

    对于 Windows 64 位 ---------> vc_redist.x64

    对于 Windows 32 位 ---------> vc_redist.x86

  2. 安装 vc_redist.x64.exe 或 vc_redist.x64.exe

  3. 重新启动系统。

  4. 最后,您可以安装按摩无法启动的程序了因为缺少 api-ms-win-crt-runtime-l1-1-0.dll。

关于node.js - 无法运行 Mongodb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41757252/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com