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

Darren Burges
Darren Burges
4,453 Points

error starting the vagrant server

OS X 10.10.1. vagrant 1.7.2 laravel homestead 4.2

When attempting the command 'vagrant up' the server appears to boot, but then seems to fail, returning to the command prompt.

boot up seems to be going fine, then I get the following errors/warnings in the log:

default: Running: inline script
==> default: stdin: is not a tty

This pattern occurs several times and then the boot seems to fail.

Note however that activity monitor does show a some Vbox... entries.

2 Answers

Darren Burges
Darren Burges
4,453 Points

Thanks. I did a bit of research and found that the this may be an issue/bug in linux. Turns out that despite the error, the virtual box is still up and running. I was thrown off a bit cuz I thought that terminal instance was not supposed to return to the command prompt, but be in a sort 'running server' state.

So my laravel install is up and running.

Petros Sordinas
Petros Sordinas
16,181 Points

Darren,

The laravel installation video is a little outdated now. Laravel has a new installation procedure described here http://laravel.com/docs/4.2/homestead

It uses vagrant, but they have changed a few things since the laravel course was published. You may want to try installing again based on the official laravel instructions.

Since you are running osx 10, make sure you have the latest virtual box and vagrant versions installed.

You may also want to have a look at this tutorial at Laracasts https://laracasts.com/lessons/laravel-installation-for-newbs This is a free video so its available without having to subscribe. If you are interested in learning laravel, I highly recommend Laracasts as it has hundreds of videos related to laravel. Jeffrey Way (the owner) is an excellent instructor and I've learnt a lot from his videos, from Laravel specifics to more advanced topics in PHP.