无法在远程目录中找到或无法访问Vagrant框 - 不兼容的curl版本

Yar*_*lle 86 macos virtualbox vagrant

我刚刚下载了Vagrant并进行了设置以及安装虚拟盒.我只是无法启动我的项目(流浪汉).我有一个流浪文件等等.我能做什么?

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'scotch/box' could not be found. Attempting to find and install
...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'scotch/box' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/scotch/box"] 
Run Code Online (Sandbox Code Playgroud)

Fré*_*nri 214

vagrant 1.8.7和嵌入式curl版本与mac os二进制文件(默认情况下在mac os Sierra和其他版本上发布)似乎存在问题 - 删除嵌入式版本

sudo rm /opt/vagrant/embedded/bin/curl
Run Code Online (Sandbox Code Playgroud)

注意:curl当你添加一个流浪盒(远程或本地)时你还需要删除嵌入式,所以如果你在运行时遇到同样的错误vagrant box add ....只是从流浪汉中移除卷曲它会工作

  • 我只想澄清一下a)截至2017年4月在OSX Sierra上这仍是一个问题,b)这个修复工作正常,c)谢谢 (2认同)