Vagrant up 时提示 Couldn't open file /D:/Homestead/metadata.json, If you want to check for box updates, verify your network conne ction?

$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: There was a problem while downloading the metadata for your box

==> homestead-7: to check for updates. This is not an error, since it is usually
due
==> homestead-7: to temporary network problems. This is just a warning. The prob
lem
==> homestead-7: encountered was:
==> homestead-7:
==> homestead-7: Couldn't open file /D:/Homestead/metadata.json
==> homestead-7:
==> homestead-7: If you want to check for box updates, verify your network conne
ction
==> homestead-7: is valid and try again.
==> homestead-7: Machine already provisioned. Run vagrant provision or use the
--provision
==> homestead-7: flag to force provisioning. Provisioners marked to run always w
ill still run.

在等待的日子里,努力工作,刻苦读书,锻炼身体,谦卑做人,养得深根,日后才能枝叶茂盛
阿神
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 2

If you aren't on linux, open the file ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/metadata_url using a text editor and change it's content to https://vagrantcloud.com/laravel/homestead

1年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!