gpt4 book ai didi

laravel - 流浪盒添加 laravel/homestead 错误 10045

转载 作者:太空宇宙 更新时间:2023-11-03 13:46:19 26 4
gpt4 key购买 nike

嗨,我是 lumen Laravel 的新手,我想安装 laravel/homestead 虚拟机。

所以我安装了最新的 virtual box,我也安装了 Vagrant,并且启用了 Hyper-V,但是一旦我尝试在我的终端中使用以下命令将 laravel/homestead box 添加到我的 Vagrant 安装中:

vagrant box add laravel/homestead

我选择的 Virtual Box 或 Hyper-V 都遇到了这个问题

C:\Users\LE>vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
box: URL: https://vagrantcloud.com/laravel/homestead
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) hyperv
2) parallels
3) virtualbox
4) vmware_desktop

Enter your choice: 1
==> box: Adding box 'laravel/homestead' (v5.1.0) for provider: hyperv
box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/5.1.0/providers/hy
perv.box
box: Progress: 1% (Rate: 0/s, Estimated time remaining: 19:08:21)50))
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

我已经尝试了这个链接中给出的解决方案 error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054我得到了这个 pb

The requested URL returned error: 404 Not Found

似乎已过时的 map 集链接。

我尝试了另一个命题,但没有人适合我。

如果有人熟悉此类错误,请告诉我。

最佳答案

好吧,有些开发人员将我的意图付给了我想分享的非常有趣的点:

If you run on windows, I agree it's a difficult to develop at the end.

  • 如果您使用的是 Windows,您应该看看 laragon 。它将节省您安装 Homestead 的时间和精力。

    因为即使在windows上跑homestead,开发上也会有困难,比如watch系统需要配置,。另一方面,您可以轻松地在 Laragon 上切换 php 版本

  • 您可能会遇到多个 Windows 问题,这就是我讨厌它的原因,Laragon 非常好(适用于 Windows),但您可能会遇到问题,并且默认情况下未启用许多扩展(例如 sqlite) .

Xampp 在我看来可以比 Laragon 更好,我花了无数时间来解决 Laragon 的不同问题。

如果你需要加快速度,完成一些工作,你可以尝试 Laragon,如果你打算做大事,并使用多个 API,数据库等我建议您花点时间切换到 Linux,这需要一些时间,但在安装完所有内容后值得!

youtube 上有一个专门针对 WordPress 和 PHP 的 channel ,它们展示了如何使用 Lamp stack 安装 Linux(基本操作系统),它们使它像 Mac OSX 一样漂亮,我什至无法更新 PHP,从 7.1 到 7.2

  • 现在我使用的是 Fedora,在我看来这很棒,因此您可以自由选择所有这些行话。

希望答案至少对像我这样使用 Windows 的人有用。

关于laravel - 流浪盒添加 laravel/homestead 错误 10045,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48836716/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com