After installing vagrant and homestead, I issue the 'vagrant up' command and get these errors:
C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in parse': (<unknown>): found a tab character that violate intendation while scanning a plain scalar at line 17 column 11 (Psych::SyntaxError) from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in
parse_stream'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:153:in parse' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:129:in
load'
from D:/Homestead/Vagrantfile:9:in `block in <top (required)>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/v2/loader.rb:37:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/v2/loader.rb:37:in `load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:97:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:97:in `block in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:94:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:94:in `load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/vagrantfile.rb:28:in `initialize'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:574:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:574:in `vagrantfile'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:359:in `host'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:168:in `block in action_runner'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:33:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:33:in `run'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:346:in `hook'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:556:in `unload'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/bin/vagrant:169:in `ensure in <main>'
Ok, I got it... Vagrant is not fond of tabs in the Homestead.yaml file... The indentation must be with spaces and exact.
Just substituted the tabs with spaces and vagrant is able to start.
Same problem.
Thank you for the quick solution.
Wow... that file is really really picky! I was off by 1 space in my indentation on 1 line. Thanks for the tip!
Please help guys, getting same error after trying to replace tabs with spaces...don't know what else I'm missing...please help!!... I replaced each tab with four spaces..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community