Vagrant is a great tool to manage your development environments. Recently I wanted to add a new box with Homestead to start working on another Laravel project but I was unable to download the box, due to enigmatic error 60
. Let me show you how to fix this issue.
To add a new box, I opened Terminal and typed:
vagrant box add laravel/homestead
Several seconds after downloading began, the following error was thrown interrupting the entire process.
The Fix
Open Terminal and go to your home directory
cd ~
Now to go:
cd .vagrant.d/tmp/
This directory contains a temporary file that has been created when you tried to add a new box for the first time. Remove it:
rm -rf ~/.vagrant.d/tmp/
and try again but this time add additional parameter:
vagrant box add --insecure laravel/homestead
Download should start normally and finish without any interruptions.