Tôi làm theo cách cài đặt Laravel nhưng sau khi nhập "vagrant up", tôi nhận được các lỗi sau:homestead.rb: 63: trong `configure ': phương thức undefined` each' cho nil: NilClass (NoMethodError)
C: /Users/Renz/code/Homestead/scripts/homestead.rb: 63: in
configure': undefined m ethod
mỗi 'cho nil: NilClass (NoMethodError) từ C:/Users/Renz/code/Homestead/Vagrantfile: 9: trongblock in <top (requi red)>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/v2/loader.rb:37:in
gọi ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/v2/loader.rb: 37: trongload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/loader.rb:103:in
khối (2 cấp) đang tải ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/ lib/vagrant/c onfig/loader.rb: 97: trongeach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/loader.rb:97:in
chặn tải ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/loader .rb: 94: ineach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/c onfig/loader.rb:94:in
tải ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/v agrantfile.rb: 28: ininitialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/e nvironment.rb:614:in
new' from C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/e nvironment.rb: 614: invagrantfile' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/e nvironment.rb:399:in
lưu trữ ' từ C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant- 1.6.5/lib/vagrant/e nvironment.rb: 198: inblock in action_runner' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/a ction/runner.rb:33:in
gọi ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/a ction/runner.rb: 33: inrun' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/e nvironment.rb:386:in
móc ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/e nvironment.rb: 596: inunload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/bin/vagrant:1 77:in
đảm bảo trong ' từ C: /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.5/bin/vagrant: 1 77: trong `'
tôi đã cố gắng cài đặt lại nhiều lần nhưng vẫn gặp lỗi tương tự.
Xin hãy trợ giúp, tôi thực sự cần sửa lỗi này ngay bây giờ. Đánh giá cao nó, cảm ơn.
tôi đã cùng một vấn đề và vấn đề của tôi là với các thư mục và các trang web cấu hình trong homestead.yaml, vì vậy có lẽ bạn muốn hiển thị cho chúng tôi tệp của bạn để chúng tôi sẽ cố gắng phát hiện sự cố ... – amosmos