0
実際にWindowsでLaravel Homesteadを使用しようとしています。私はこのエラーを取得するvagrant up
を作成しようとするとホームステイでエラーが発生したときにエラーが発生しました
:私は他の人の質問に読ん
C:/Users/Lluis/Homestead/scripts/homestead.rb:125:in `configure': undefined method `each' for "\u00D4\u00C7\u00F6 ~/.ssh/id_rsa":String (NoMethodError)
from C:/Users/Lluis/Homestead/Vagrantfile:35:in `block in <top (required)>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/v2/loader.rb:37:in `load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:125:in `block (2 levels) in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:119:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:119:in `block in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:116:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/config/loader.rb:116:in `load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/vagrantfile.rb:28:in `initialize'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:810:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:810:in `vagrantfile'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:556:in `host'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:214:in `block in action_runner'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/action/runner.rb:33:in `run'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:543:in `hook'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:792:in `unload'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:141:in `ensure in <main>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:141:in `<main>'
それは、エラーの原因がの.sshファイルを発見することはできませんです。
は、私は私のhomestead.yamlファイルをチェックしますが、それは良いことだ、すべては私がここにファイルを置くと思う:
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: c:/Users/Lluis/.ssh/id_rsa.pub
keys:
— c:/Users/Lluis/.ssh/id_rsa
folders:
- map: d:/Homestead_Projects
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/Laravel/public
databases:
- homestead
がどのように私は、エラーを修正することができ
? homestead.yamlファイルに何らかのエラーがありますか?ホームディレクトリに〜、古いディレクトリ.vagrantと.vagrant.dがある場合
.vagrantと.vagrant.dという2つのフォルダがありますが、これは問題ではないので、2つのフォルダを削除してlaravel/homeesteadボックスをもう一度追加してください。私にいくつかのミニッツを与えてください –
ok、助けてくれると信じてください –
同じエラーです、これは問題ではないと思います。問題はSSHに関するものでなければなりません:/ –