无法在 Windows 10 上使用 Vagrant 安装 Laravel homestead

2024-01-21

我刚刚下载了最新版本的 Vagrant 2.2.15 和 VMware。我试着跑

vagrant box add laravel/homestead

但我得到

The box 'laravel/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。另外,请仔细检查姓名。扩展后的 URL和错误信息如下所示:

URL: ["https://vagrantcloud.com/laravel/homestead"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

检查后https://app.vagrantup.com/laravel/boxes/homestead https://app.vagrantup.com/laravel/boxes/homestead I run

vagrant init laravel/homestead

然后尝试运行

vagrant up

但我从来没有让它工作并不断收到相同的错误消息。我找到了这个解决方案https://github.com/hashicorp/vagrant/issues/6764 https://github.com/hashicorp/vagrant/issues/6764并安装了MS Visual C++ 2010 x86 Redistributables 但无法运行vagrant up或者在上次更新后甚至不知道如何安装 homestead。我曾经以旧的相同方式安装过多次,没有出现任何问题,但今天却无法安装

I tried

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

但我得到

There was an error while downloading the metadata for this box.
The error message is shown below:

schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

我检查了这里的温度.vagrant.d\tmp但它是空的。 在 Windows 10 上安装和运行 laravel homestead 有什么帮助吗?


禁用防病毒软件(在我的例子中是卡巴斯基)解决了我的问题。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法在 Windows 10 上使用 Vagrant 安装 Laravel homestead 的相关文章

随机推荐