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

2023-11-23

我刚刚下载了 Vagrant 并进行了设置并安装了 virtual box。我只是无法启动我的项目(vagrant up)。我有一个流浪文件等等。我能做些什么?

$ 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"] 

似乎有一个issue使用 vagrant 1.8.7 和嵌入式curl 版本与 mac os 二进制文件(在 mac os Sierra 和其他操作系统上默认提供) - 删除嵌入式版本

sudo rm /opt/vagrant/embedded/bin/curl

注意:您还需要删除嵌入的curl当您添加一个流浪盒(远程或本地)时,如果您在运行时遇到相同的错误vagrant box add ....只需将 vagrant 中的卷曲删除即可

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法在远程目录中找到或无法访问 Vagrant box - 不兼容的curl版本 的相关文章

随机推荐