Vagrant框添加失败与本地文件

时间:2016-01-03 16:31:18

标签: windows vagrant virtualbox

我刚刚关注了本教程: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 box add fail,但解决方案对我不起作用。

1 个答案:

答案 0 :(得分:1)

我找到了解决方案。 我尝试从<vagrant_dir>/embedded/bin运行curl并发现,我的电脑上错过了vcruntime140.dll。所以我安装了新的“Visual C ++ Redistributable for Visual Studio 2015”,问题就消失了。