Vagrant error occurred while downloading the remote file

Problem

An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

Cause

You are running vagrant init outside your virtual box

Solution

cd to your vagrant directory. If you did a vagrant box add solar, then your virtual box is in the directory solar.

$ cd solar

If there is not VagrantFile, run the following command:

$ vagrant init 

If there is a VagrantFile

$ vagrant up
Technologies: 
Actions: