Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMatt Wilding
4,616 Points"vagrant up" - problems with 'base' - terminal output included
I'm following the install tutorial to the letter - but having problems with "vagrant up":
My Homestead directory looks like:
drwxr-xr-x 13 mattwilding staff 442 20 Oct 10:55 .
drwxr-xr-x+ 42 mattwilding staff 1428 20 Oct 10:56 ..
-rw-r--r--@ 1 mattwilding staff 6148 20 Oct 10:07 .DS_Store
drwxr-xr-x 13 mattwilding staff 442 20 Oct 10:55 .git
-rw-r--r-- 1 mattwilding staff 14 20 Oct 09:45 .gitattributes
-rw-r--r-- 1 mattwilding staff 10 20 Oct 09:45 .gitignore
drwxr-xr-x 3 mattwilding staff 102 20 Oct 10:08 .vagrant
-rw-r--r-- 1 mattwilding staff 358 20 Oct 10:07 Homestead.yaml
drwxr-xr-x 2 mattwilding staff 68 20 Oct 10:24 Projects
-rw-r--r-- 1 mattwilding staff 4814 20 Oct 10:55 Vagrantfile
-rw-r--r-- 1 mattwilding staff 313 20 Oct 09:45 aliases
-rw-r--r-- 1 mattwilding staff 163 20 Oct 09:45 readme.md
drwxr-xr-x 5 mattwilding staff 170 20 Oct 09:45 scripts
And the output following the "init" and "up" commands are as follows:
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
ā Homestead git:(master) ā vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Adding box 'base' (v0) for provider: virtualbox
default: Downloading: base
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /Users/mattwilding/Homestead/base
Has anyone experienced similar, or have any suggestions as to what to try next?
Thanks in advance.
2 Answers
Chris Shaw
26,676 PointsHi Matt,
It would appear you've created your own Vagrantfile in the directory as you shouldn't see the below when using Homestead.
A
Vagrantfile
has been placed in this directory.
I would recommend you double check that your Vagrantfile looks like the below link, if it doesn't checkout a clean copy of homestead again to ensure that the only modified file is Homestead.yaml.
https://github.com/laravel/homestead/blob/master/Vagrantfile
Matt Wilding
4,616 PointsMany thanks Chris - that did the job perfectly. All up and running now.