In fact, the previous period also appeared this problem, and later thought it was the cause of the computer, nothing.
I'm faking it.
virtualbox,
vagrant, and then try
vagrant box add laravel/homesteadand failed; and then I tried the official recommendation of the old way
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead, or failed, I finally downloaded the box and tried to add it locally
vagrant box add laravel/homestead virtual.box, the same failure, and three times the same error:
D:\Homestead>vagrant box add laravel/homestead virtualbox.box==> box: Box file was not detected as metadata. Adding it directly...==> box: Adding box 'laravel/homestead' (v0) for provider: box: Unpacking necessary files from: file://D:/Homestead/virtualbox.box box:An error occurred while downloading the remote file. The errormessage, if any, is reproduced below. Please fix this error and tryagain.
Is the reason why the virtual machine VirtualBox? Is that why I didn't install it or the version? Ask the great God to tell!
Reply content:
In fact, the previous period also appeared this problem, and later thought it was the cause of the computer, nothing. I installed, virtualbox and vagrant then tried vagrant box add laravel/homestead , failed; then I tried the official recommendation of the old way vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead , or failed, and finally I downloaded the box, try to add locally vagrant box add laravel/homestead virtual.box , the same failure, and three times the same error:
D:\Homestead>vagrant box add laravel/homestead virtualbox.box==> box: Box file was not detected as metadata. Adding it directly...==> box: Adding box 'laravel/homestead' (v0) for provider: box: Unpacking necessary files from: file://D:/Homestead/virtualbox.box box:An error occurred while downloading the remote file. The errormessage, if any, is reproduced below. Please fix this error and tryagain.
Is the reason why the virtual machine VirtualBox? Is that why I didn't install it or the version? Ask the great God to tell!
It turns out that Google and StackOverflow are good friends of apes. Forehead, pure spit groove. StackOverflow There are a few similar problems, I used one of the methods to solve, is now posted out for the needs of small partners reference.
I downloaded cUrl x64 with SSL and replace it with the curl.exe provided by Vagrant. In and words, I copied the Curl.exe to C:\HashiCorp\Vagrant\embedded\bin Now it ' s working perfectly
Original address
The answer to the Chinese language is not found any solution, and later with Google in the English site to find solutions: encountered even local can not add box, to install the VS2010 run library. Vagrant's error is really unscientific, this level of false hints, people have no sense of the mind. Because the general use of vagrant people are basically developers, the basic running library will be installed on the first time, the novice encountered this situation completely puzzled, let alone Google to look over several pages of the answer. Original address
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.