---###前提・実現したいこと
Windows環境において
Vagrant + VirtualBox で
Laravel/Homestead の環境を構築しようとしています。
###発生している問題・エラーメッセージ
C:\Users\ntmsk\Documents\kaihatu\vagrant\Homestead>vagrant up C:/Users/ntmsk/Documents/kaihatu/vagrant/Homestead/scripts/homestead.rb :4:in `configure': undefined method `[]' for nil:NilClass (NoMethodError) from C:/Users/ntmsk/Documents/kaihatu/vagrant/Homestead/Vagrant file:25:in `block in <top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/v2/loader.rb:37:in `call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/v2/loader.rb:37:in `load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:113:in `block (2 levels) in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:107:in `each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:107:in `block in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:104:in `each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:104:in `load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/v agrantfile.rb:28:in `initialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:740:in `new' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:740:in `vagrantfile' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:486:in `host' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:208:in `block in action_runner' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/a ction/runner.rb:33:in `call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/a ction/runner.rb:33:in `run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:473:in `hook' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:722:in `unload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:1 77:in `ensure in <main>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:1 77:in `<main>'
###該当のソースコード
Homestead.yaml --- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: C:/Users/ntmsk/.ssh/ntmsk_rsa.pub keys: - C:/Users/ntmsk/.ssh/ntmsk_rsa.ppk folders: - map: C:/Users/ntmsk/Documents/kaihatu/work to: /home/vagrant/Code sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public databases: - name: homestead # blackfire: # - id: foo # token: bar # client-id: foo # client-token: bar # ports: # - send: 50000 # to: 5000 # - send: 7777 # to: 777 # protocol: udp
###補足情報(言語/FW/ツール等のバージョンなど)
Vagrantのバージョン:Vagrant 1.8.1
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/05/03 13:32