首页 > 解决方案 > 无法在 Windows 10 上使用 Vagrant 安装 Laravel 宅基地

问题描述

我刚刚下载了最新版本的 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后我运行

vagrant init laravel/homestead

然后尝试运行

vagrant up

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

我试过了

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 有什么帮助吗?

标签: laravelvagranthomestead

解决方案


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


推荐阅读