本文主要是介绍记录windiwos系统安装homestead环境的一次报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
相关软件版本
- VirtualBox 7.0.14
- Vagrant 2.3.8
报错信息如下
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Box 'lc/homestead' could not be found. Attempting to find and install...homestead: Box Provider: virtualboxhomestead: Box Version: >= 12.0.0, < 13.0.0
The box 'lc/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:URL: ["https://vagrantcloud.com/lc/homestead"]
Error: The requested URL returned error: 404
解决办法
- 修改 Homestead 管理脚本的下的 homestead.rb 这个文件,修改信息如下
- 执行如下命令即可
下载并导入虚拟机盒子
vagrant box add laravel/homestead https://vagrantcloud.com/laravel/homestead
启动 Homestead
vagrant up
这篇关于记录windiwos系统安装homestead环境的一次报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!