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 trial

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

Mike Zhu
Mike Zhu
1,840 Points

Error when "vagrant up"

After I type "vagrant up", it shows the error like this: /Users/Mike/Homestead/Vagrantfile:18:in `read': No such file or directory - /Users/Mike/.homestead/Homestead.yaml (Errno::ENOENT)

Why it cannot find the directory?

2 Answers

Yo, Which directory are you in when you type vagrant up?

I had the same problem, so I went into the Vagrantfile in the Homestead dir and changed the homesteadYamlPath to the correct path. The default path must have been from the old file structure.

Can you share what path you used? Would I replace "~/.homestead" with "Users/Tammy/.homestead/Homestead.yaml" ? .... I tried that and it did not work, but I may be able to figure out the right path from the error.