Error when starting "Homestead" in Vagrant

Asked

Viewed 48 times

-1

barbosa@Mysterio MINGW64 /c/ambiente_dev/maquinas_virtual/vagrant_boxes/Homestead (release)

$ Vagrant up

C:/Hashicorp/Vagrant/Embedded/mingw64/lib/ruby/2.4.0/Psych.Rb:377:in parse': (<unknown>): mapping values are not allowed in this context at line 20 column 10 (Psych::SyntaxError) from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:377:inparse_stream' from C:/Hashicorp/Vagrant/Embedded/mingw64/lib/ruby/2.4.0/Psych.Rb:325:in parse' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:252:inload' from C:/ambiente_dev/maquinas_virtuais/vagrant_boxes/Homestead/Vagrantfile:29:in block in <top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/v2/loader.rb:37:inload' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/lib/Vagrant/config/Loader.Rb:126:in block (2 levels) in load' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:119:ineach' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/lib/Vagrant/config/Loader.Rb:119:in block in load' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:116:ineach' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/lib/Vagrant/config/Loader.Rb:116:in load' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:29:ininitialize' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/lib/Vagrant/Environment.Rb:792:in new' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:792:invagrantfile' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/lib/Vagrant/Environment.Rb:973:in process_configured_plugins' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:ininitialize' from C:/Hashicorp/Vagrant/Embedded/Gems/2.2.6/Gems/Vagrant-2.2.6/bin/Vagrant:145:in new' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in'

1 answer

0

In case I found that in my file "Homestead.yaml" there were spaces to "plus" in some parts which caused errors.

As soon as I removed the extra spaces in the file "Homestead.yaml" I was able to access the machine the file problem with extension ".yaml" is that they are sensitive to extra spaces.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.