Vagrant box 添加失败
Vagrant box add fail
我正在尝试添加
laravel/homestead
在 vagrant 中输入框,但出现不同的错误。
来自 运行
vagrant box add laravel/homestead
我收到这个错误
The box 'laravel/homestead' 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/laravel/homestead"] Error:
我尝试 'vagrant login' 并成功登录,但仍然收到相同的错误。
我尝试手动下载盒子,但是,我仍然无法添加它。
通过运行这个命令
vagrant box add laravel/homestead [Path in Windows]
我得到
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Unpacking necessary files from: file://C:/Users/eNull/Downloads/hc-download
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
我的 OS: Windows 10.
cUrl 版本:curl 7.45.0 (x86_64-w64-mingw32) libcurl/7.45.0 OpenSSL/1.0.2d zlib/1.2.8 libidn/1.32 libssh2/1.6.0 librtmp/2.3
无业游民:1.8.1
虚拟盒子:5.0.12
您不需要从网络添加框。初始化而不是这个:
vagrant init laravel/homestead
vagrant up
vagrant ssh
Vagrant 应该会自动在框列表中添加宅基地。
如果你想设置本地下载的盒子,直接从盒子目录添加盒子会更好。:
cd [path in windows]
vagrant box add [name_box] laravel/homestead
vagrant up
vagrant ssh
已修复。
我下载了
cUrl x64 with SSL
并替换为Vagrant提供的curl.exe。
也就是说,我把curl.exe复制到了
C:\HashiCorp\Vagrant\embedded\bin
现在一切正常。
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
使用chocolate down cUrl,替换为Vagrant提供的curl.exe。然后就可以了。
我通过脚本发现错误:vagrant box add {box path} --debug
我正在尝试添加
laravel/homestead
在 vagrant 中输入框,但出现不同的错误。
来自 运行
vagrant box add laravel/homestead
我收到这个错误
The box 'laravel/homestead' 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/laravel/homestead"] Error:
我尝试 'vagrant login' 并成功登录,但仍然收到相同的错误。
我尝试手动下载盒子,但是,我仍然无法添加它。
通过运行这个命令
vagrant box add laravel/homestead [Path in Windows]
我得到
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Unpacking necessary files from: file://C:/Users/eNull/Downloads/hc-download
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
我的 OS: Windows 10.
cUrl 版本:curl 7.45.0 (x86_64-w64-mingw32) libcurl/7.45.0 OpenSSL/1.0.2d zlib/1.2.8 libidn/1.32 libssh2/1.6.0 librtmp/2.3
无业游民:1.8.1
虚拟盒子:5.0.12
您不需要从网络添加框。初始化而不是这个:
vagrant init laravel/homestead
vagrant up
vagrant ssh
Vagrant 应该会自动在框列表中添加宅基地。 如果你想设置本地下载的盒子,直接从盒子目录添加盒子会更好。:
cd [path in windows]
vagrant box add [name_box] laravel/homestead
vagrant up
vagrant ssh
已修复。
我下载了
cUrl x64 with SSL
并替换为Vagrant提供的curl.exe。
也就是说,我把curl.exe复制到了
C:\HashiCorp\Vagrant\embedded\bin
现在一切正常。
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
使用chocolate down cUrl,替换为Vagrant提供的curl.exe。然后就可以了。
我通过脚本发现错误:vagrant box add {box path} --debug