I tried to install Laravel Homestead on my computer.
I have followed to the documentation and I got it up working yesterday.
However I left my laptop on sleep and I tried to run vagrant provision and I receive this weird error.
Jafars-iMac:Homestead jafarsalami$ vagrant provision
/opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse': (<unknown>): did not find expected '-' indicator while parsing a block collection at line 18 > column 5 (Psych::SyntaxError)
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:325:in `parse'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:252:in `load'
from /Users/jafarsalami/Homestead/Vagrantfile:28:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:125:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:119:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:119:in `block in load'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:116:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:116:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/vagrantfile.rb:28:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:810:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:810:in `vagrantfile'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:556:in `host'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:214:in `block in action_runner'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/action/runner.rb:33:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:543:in `hook'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:792:in `unload'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:141:in `ensure in <main>'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:141:in `<main>'
What did I do wrong?
EDIT: I have added my Homestead.yaml file as it might help in solving this problem. My Homestead.yaml file:
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code
to: /home/vagrant/Code
type: "nfs"
sites:
- map: homestead.test
to: /home/vagrant/Code/homestead.test/public
databases:
- homestead
- – somesite_db
+ - somesite_db
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp