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

MD.Borhan Safa
MD.Borhan Safa
1,754 Points

vagrant@homestead ls command is showing Code is the folder inside instead of Sites folder

I am using ubuntu 16.04 and I have changed my homestead.yaml file as the video showed. But after vagrant up command it had an error that "vm: The host path of the shared folder is missing: ~/Code" but on my homestead.yaml file I have changed the path from ~/Code to /home/borhansafa/Homestead/Projects, So I have created a new folder and tried it. After that the error is still showing up so I have created another folder for ~/Code and finally vagrant up ran successfully. However, after getting into vagrant@homestead, when I type ls for checking my folders it supposed to show Sites but it is showing Code instead. Do I have to make any change? Or I should carry on with the video? I found on my virtual box that the shared folders are set like this image. I am waiting for your response Hampton Paulk

1 Answer

Matthew Smart
Matthew Smart
12,567 Points

What your best of doing is actually not watching this at all. Laravel 4 is outdated, we are now on Laravel 5.3.

If you want to learn laravel either read the documentation https://laravel.com/docs/5.3 or watch video tutorials on laracasts.com.