Homestead 启动时出现 homestead.rb:358:in `+': no implicit conversion of Hash into String (TypeError) ?

$ vagrant up
C:/Users/Administrator/Homestead/scripts/homestead.rb:358:in `+': no implicit conversion of Hash into String (TypeError)
        from C:/Users/Administrator/Homestead/scripts/homestead.rb:358:in `block (2 levels) in configure'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/plugins/kernel_v2/config/vm_provisioner.rb:82:in `add_config'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/plugins/kernel_v2/config/vm.rb:336:in `provision'
        from C:/Users/Administrator/Homestead/scripts/homestead.rb:357:in `block in configure'
        from C:/Users/Administrator/Homestead/scripts/homestead.rb:356:in `each'
        from C:/Users/Administrator/Homestead/scripts/homestead.rb:356:in `configure'
        from C:/Users/Administrator/Homestead/Vagrantfile:35:in `block in <top (required)>'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/v2/loader.rb:37:in `load'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:119:in `each'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:119:in `block in load'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:116:in `each'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:116:in `load'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/vagrantfile.rb:28:in `initialize'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:777:in `new'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:777:in `vagrantfile'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:523:in `host'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:191:in `block in action_runner'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/action/runner.rb:33:in `run'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:510:in `hook'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:759:in `unload'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/bin/vagrant:159:in `ensure in <main>'
        from E:/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/bin/vagrant:159:in `<main>'

请问大家这个怎么处理呢。

墨楠小
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 3

Homestead.yaml配置文件出错了。有可能是多-这样的东西

1年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!