homestead.rb:109:在`read':没有这样的文件或目录@ rb_sysopen

时间:2016-10-25 07:47:20

标签: laravel homestead

我尝试通过官方网站上的文档5.3使用宅基地 https://laravel.com/docs/5.3/homestead 但它不起作用,细节如下: C:\ Users \ liang \ Homestead&gt; vagrant up C:/Users/liang/Homestead/scripts/homestead.rb:109:在read': No such file or directory @ rb_sysopen - C:/Users/liang/.ssh/id_rsa (Errno::ENOENT) from C:/Users/liang/Homestead/scripts/homestead.rb:109:in块(2级)中配置'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / plugins / kernel_v2 / config / vm_provisioner.rb:72:in call' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/kernel_v2/config/vm_provisioner.rb:72:in add_config'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / plugins / kernel_v2 / config / vm.rb:321:in provision' from C:/Users/liang/Homestead/scripts/homestead.rb:106:in block in configure'         来自C:/Users/liang/Homestead/scripts/homestead.rb:105:in each' from C:/Users/liang/Homestead/scripts/homestead.rb:105:in configure'         来自C:/ Users / liang / Homestead / Vagrantfile:30:in block in <top (required)>' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/config/v2/loader.rb:37:in call'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / config / v2 / loader.rb:37:in load' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/config/loader.rb:113:in块(2级)加载'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / config / loader.rb:107:in each' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/config/loader.rb:107:in block in load'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / config / loader.rb:104:in each' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/config/loader.rb:104:in load'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / vagrantfile.rb:28:in initialize' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/environment.rb:740:in new'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / environment.rb:740:in vagrantfile' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/environment.rb:486:in host'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / environment.rb:208:in block in action_runner' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/action/runner.rb:33:in call'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / action / runner.rb:33:in run' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/lib/vagrant/environment.rb:473:in hook'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / lib / vagrant / environment.rb:722:in unload' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/bin/vagrant:177:in确保'         来自D:/ Program Files / vagrant / embedded / gems / gems / vagrant-1.8.4 / bin / vagrant:177:in''

The screencaputure

谁能帮助我!谢谢

1 个答案:

答案 0 :(得分:3)

好的,我已经解决了这个错误 然后开始git bash $ ssh-keygen