Vagrant box 添加失败,本地文件

Vagrant box add fails with local file

我刚刚学习了这个教程:https://blog.engineyard.com/2014/building-a-vagrant-box,最后遇到了这个问题:

h:\VagrantBoxes>vagrant box add test-server32 file:///H:/VagrantBoxes/package.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'test-server32' (v0) for provider:
    box: Unpacking necessary files from: file:///H:/VagrantBoxes/package.box
    box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

我使用 Windows 10 x64,Vagrant 1.8.1,VirtualBox 5.0.12。

此处列出了类似的问题:,但该解决方案对我不起作用。

我找到了解决办法。 我尝试从 <vagrant_dir>/embedded/bin 卷曲 运行 并发现我的 PC 上缺少 vcruntime140.dll。所以我安装了新的 "Visual C++ Redistributable for Visual Studio 2015",问题消失了。