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

rtprjct
30,548 PointsWindows 8 Laravel installation problem
Feeling pretty silly, having been having trouble installing laravel every step of the way
I've gotten up to the bit where I type "vagrant up" in the command line and it is giving me an error I can't seem to rectify:
first it says: 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 default:
An error occured 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/artie1991/base
I don't know what to do?
here is what my default Homestead.yaml file looked like when I first had it installed (I noticed some of the file paths were different to the tutorial defaults):
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: /Users/me/.ssh/id_rsa.pub
keys:
- /Users/me/.ssh/id_rsa
folders:
- map: /Users/me/Code
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
variables:
- key: APP_ENV
value: local
and here is what I changed it to:
---
ip: "10.0.10.10"
memory: 2048
cpus: 1
authorize: /Users/artie1991/.ssh/id_rsa.pub
keys:
- /Users/artie1991/.ssh/id_rsa
folders:
- map: /Users/artie1991/Homestead/Projects
to: /home/vagrant/Sites
sites:
- map: laravel.dev
to: /home/vagrant/Sites/laravel-basics/public
variables:
- key: APP_ENV
value: local
very very unsure on how to proceed, if anyone has any insight that would be much appreciated.
Other things that may be of use to know: when I initially tried to enter the command "vagrant up" it came up with this error that wasn't covered: "A vagrant environment or target machine is required to run this command. Run 'vagrant init' to create a new vagrant environment. Or, get an ID of a target machine from 'vagrant global-status' to run this command on. A final option is to change a directory with a Vagrantfile and to try again'"
so I then ran "vagrant init" which gave me: "A 'Vagrantfile' has been placed in your directory. You are now read 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"l
Should I try uninstall anything I have done and try doing this through xampp? I have found a different guide online, or is what error I have solvable?
1 Answer

Robert Walker
17,146 Points1 Install Laravel Framework in Windows *PHP version greater than 5.3.7 is required.
2 Download Laravel from: https://github.com/laravel/laravel/archive/master.zip.
3 Extract Laravel into the www folder for WAMP (http://www.wampserver.com).
4 Download Composer from: https://getcomposer.org/Composer-Setup.exe
5 Enable openssl from all php.ini files.
6 Install Composer into the same directory php.exe is located.
7 Click on WAMP icon->PHP->PHP Extensions and enable: php_openssl, php_curl, php_socket.
8 Click on wamp icon->Apache->Apache Modules and enable ssl_module
9 Open cmd.
10 Change into the directory where you extracted Laravel e.g: cd C:\wamp\www\laravel.
11 Type the command: composer install.
12 Copy and paste all \public\ folder files into WAMP's www folder.
13 Open index.php and edit both lines to include the installation .Directory .e.g: '/../bootstrap/autoload.php' to '/laravel/bootstrap/autoload.php'.
14 Open bootstrap\paths.php and edit the line 'public' => DIR.'/../public', to 'public' => DIR.'/../..',
15 Installation completed.
16 Open your browser and run URL : localhost/laravel
Only one I have seen that works for Windows 8 though there is a Youtube video too with a person walking you through it, search "laravel windows 8 tutorial" on google and its the first Youtube video.
Hope that helps and good luck with it all.