游民箱添加失败 [英] Vagrant box add fail
问题描述
我正在尝试添加
laravel/homestead
laravel/homestead
无所事事的盒子,但出现了不同的错误.
box in vagrant but i get different errors.
通过跑步
无用的盒子添加laravel/homestead
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:
我尝试进行无用登录",并且成功登录,但仍然收到相同的错误.
I tried to 'vagrant login' and i logged in successfully but still receiving same error.
我试图手动下载该盒子,但是,添加它仍然遇到问题.
I tried to download the box manually, However, I still having problems adding it.
通过运行此命令
无用的盒子添加laravel/homestead [Windows中的路径]
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.
我的操作系统:Windows 10.
My 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
cUrl version: 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
VirtualBox:5.0.12
VirtualBox: 5.0.12
推荐答案
固定.
我下载了
cUrl x64 with SSL
并将其替换为Vagrant提供的curl.exe.
and replace it with the curl.exe provided by Vagrant.
换句话说,我将curl.exe复制到了
In other words, I copied the curl.exe to
C:\HashiCorp\Vagrant\embedded\bin
现在一切正常.
这篇关于游民箱添加失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!