Laravel Homestead/Vagrant 框错误 : The specified checksum type is not supported by Vagrant: sha512

标签 laravel vagrant

我正在尝试安装 laravel homestead 并且无法通过添加 homestead 框。

指令是:vagrant box add laravel/homestead
完成下载过程后出现以下错误。

C:\Users\HARSHA - PC PRO>vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://vagrantcloud.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v9.0.1) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/9.0.1/providers/virtualbox.box
==> box: Box download is resuming from prior download progress
    box: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
    box: Progress: 100% (Rate: 188k/s, Estimated time remaining: --:--:--)
    box: Calculating and comparing box checksum...
The specified checksum type is not supported by Vagrant: sha512.
Vagrant supports the following checksum types:

md5, sha1, sha256

我在 Windows 10 64 位 PC 上,并在 virtualbox(版本 6.0.0 r127566 (Qt5.6.2))和 vagrant_2.2.2_x86_64 版本上尝试了这些说明。

我正在尝试安装 Laravel homestead 并且不知道解决这个问题,因为我是 Laravel vagrant 的新手。我在网上搜索了特定问题,但找不到与上述相关的任何解决方案,因此感谢您提供任何帮助。

最佳答案

正如 Vagrant 的 CHANGELOG.md file 中提到的,现在支持新的校验和类型。简单 updating Vagrant到其最新版本(2.2.6)应该可以解决问题。

然后你可以做 vagrant box update升级 Homestead 盒子。

关于Laravel Homestead/Vagrant 框错误 : The specified checksum type is not supported by Vagrant: sha512,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59133168/

相关文章:

php - 如何在 Laravel 中将查询写为原始查询?

powershell - 无法通过 VirtualBox 中的 PowerShell 脚本运行 Vagrant 命令

postgresql - postgresql 的自动化脚本

javascript - 是否可以用普通的 Laravel 创建一个网络聊天应用程序

mysql - 在 Laravel 子查询中使用 count 编写 where 子句

linux - Vagrant for virtual linux dev - 如何知道虚拟机启动是否为 "hanging"?

ubuntu - archive.ubuntu.com 稀有文件丢失,解决方法?

postgresql - 允许任何用户以完全权限连接到 postgres 吗?

php - 在 laravel 5.1 中打印所有正在运行的 session 变量

mysql - 如何使用 Scope 在 Eloquent ORM 中选择除(A 和 B)以外的所有行?