homestead.rb:109:in `read': No such file or directory @ rb_sysopen

落爺英雄遲暮 提交于 2020-01-15 05:35:09

问题


I try to use homestead via the document 5.3 from the offical website https://laravel.com/docs/5.3/homestead but it doesn't work, the details were as follows : C:\Users\liang\Homestead>vagrant up C:/Users/liang/Homestead/scripts/homestead.rb:109:in 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:inblock (2 levels) in configure' from 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:inadd_config' from 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:inblock in configure' from C:/Users/liang/Homestead/scripts/homestead.rb:105:in each' from C:/Users/liang/Homestead/scripts/homestead.rb:105:inconfigure' from 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:incall' from 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:inblock (2 levels) in load' from 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:inblock in load' from 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:inload' from 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:innew' from 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:inhost' from 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:incall' from 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:inhook' from 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:inensure in ' from D:/Program Files/vagrant/embedded/gems/gems/vagrant-1.8.4/bin/vagrant:177:in `'

The screencaputure

Who can help me! Thank you


回答1:


OK,I have solved the error start git bash and then $ ssh-keygen



来源:https://stackoverflow.com/questions/40234219/homestead-rb109in-read-no-such-file-or-directory-rb-sysopen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!