laravel / homestead安装错误

时间:2016-06-11 21:31:00

标签: php laravel laravel-5.2 homestead

我使用laravel/homestead相对较新,我遇到了安装问题。我的PATH中有composer,我正在尝试使用homestead init命令,我收到了这个错误?

任何建议都将受到赞赏。

goldenos@GoldenOS:~$ homestead init
/home/goldenos/Homestead/scripts/homestead.rb:4:in `configure': undefined method `[]' for nil:NilClass (NoMethodError)
from /home/goldenos/Homestead/Vagrantfile:28:in `block in <top (required)>'
from /usr/lib/ruby/vendor_ruby/vagrant/config/v2/loader.rb:37:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/config/v2/loader.rb:37:in `load'
from /usr/lib/ruby/vendor_ruby/vagrant/config/loader.rb:103:in `block (2 levels) in load'
from /usr/lib/ruby/vendor_ruby/vagrant/config/loader.rb:97:in `each'
from /usr/lib/ruby/vendor_ruby/vagrant/config/loader.rb:97:in `block in load'
from /usr/lib/ruby/vendor_ruby/vagrant/config/loader.rb:94:in `each'
from /usr/lib/ruby/vendor_ruby/vagrant/config/loader.rb:94:in `load'
from /usr/lib/ruby/vendor_ruby/vagrant/vagrantfile.rb:28:in `initialize'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:655:in `new'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:655:in `vagrantfile'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:407:in `host'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:178:in `block in action_runner'
from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:33:in `run'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:394:in `hook'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:637:in `unload'
from /usr/bin/vagrant:176:in `ensure in <main>'
from /usr/bin/vagrant:176:in `<main>'

0 个答案:

没有答案