窗户10上的拉拉威尔宅地



当我尝试安装laravel宅地时,我遇到了问题我使用git终端,当我尝试这个时

$ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead

我收到这个错误

==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead
    box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Could not resolve host: (nil); Host not found

很可能您应该更新Vagrant。您的问题应该通过以下提交得到解决:https://github.com/mitchellh/vagrant/commit/5f12126d32dfa30f5f48d12724eeb29222942cb0


若你们不想更新Vagrant,那个么解决方案就是在Vagrantfile:中取消注释这个参数

config.vm.box_check_update = false

最新更新