找不到“laravel/homestead”框

2023-12-03

尝试配置 laravel 5.1。

克隆了拉拉维尔/家园

将其克隆到之后Home目录。尝试运行 vagrant up 命令时抛出错误,如下所示:

user@user:~/laravel/homestead$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The box 'laravel/homestead' could not be found.

我首先尝试使用vagrant box add laravel/homestead

This command was not invoked properly. The help for this command is
available below.

Usage: vagrant box add <name> <url> [--provider provider] [-h]

        --checksum VALUE             Checksum
        --checksum-type VALUE        Checksum type
    -c, --clean                      Remove old temporary download if it exists.
    -f, --force                      Overwrite an existing box if it exists.
        --insecure                   If set, SSL certs will not be validated.
        --cacert certfile            CA certificate
        --cert certfile              The client SSL cert
        --provider provider          The provider that backs 

还尝试传递 url 作为显示的错误,仍然失败。阿斯特克隆 来自 git 仓库

1. 流浪者-v: Vagrant 1.4.3

2. vagrant box添加laravel/homesteadhttps://atlas.hashicorp.com/laravel/boxes/homestead

Error:

Downloading box from URL: https://atlas.hashicorp.com/laravel/boxes/homestead
Extracting box...e: 0/s, Estimated time remaining: --:--:--)
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

bsdtar: Error opening archive: Unrecognized archive format

3、宅基地:

Laravel Homestead version 2.0.17

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  destroy    Destroy the Homestead machine
  edit       Edit the Homestead.yaml file
  halt       Halt the Homestead machine
  help       Displays help for a command
  init       Create a stub Homestead.yaml file
  list       Lists commands
  provision  Re-provisions the Homestead machine
  resume     Resume the suspended Homestead machine
  run        Run commands through the Homestead machine via SSH
  ssh        Login to the Homestead machine via SSH
  status     Get the status of the Homestead machine
  suspend    Suspend the Homestead machine
  up         Start the Homestead machine
  update     Update the Homestead machine image

我究竟做错了什么?


更新你的 Vagrant。 Vagrant Cloud 是在 1.5 IRC 中引入的,因此您的vagrant不明白如何处理这样的命令vagrant box add laravel/homestead

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

找不到“laravel/homestead”框 的相关文章

随机推荐

  • 如何在 Windows 10 上安装 OpenXML SDK 生产力工具 2.5

    我从以下位置下载了 OpenXML SDK Productivity Tool 2 5微软网站 然而 当我想安装它时 我被告知我需要先安装 NET Framework 4 如果没有它 安装将无法继续 我已经安装了 NET Framework
  • 创建后更改可观察的间隔/设置

    在 RxJS 中 创建后如何更改间隔设置 到目前为止我有这个 但它不起作用 var observable Rx Observable interval 500 map function data return Hello World dat
  • 如何使用基于声明的授权保护asp.net core 2.1中的静态文件夹

    我有一个使用 asp net core 2 1 的小项目 我希望保护充满静态资产的文件夹 我尝试实现的是基于这篇文章https odetocode com blogs scott archive 2015 10 06 authorizati
  • 解决为什么 PrintWindow 为空白的问题

    我正在尝试使用 PrintWindow 捕获非活动窗口的屏幕截图 它适用于计算器和捕获 Google Chrome 但对于其他一些应用程序 例如游戏 它可以节省白色区域 PrintWindow 失败的原因可能是什么以及如何验证它们 编辑 我
  • CSS 模块的服务器端渲染

    我将导入样式CSS模块并使其与服务器端渲染一起使用 我尝试了以下方法 但每种方法都有其自己的警告 最好的方法是什么require style scss 是否有副作用 使用css 模块 require hook 优势 易于配置 您只需在服务器
  • 如何使用 c++ 11 使函数在所需的周期执行

    我想使用c 11来实现类似windows API的功能SetTimer 就像 每2秒做某事 假设你想让这个函数每 2 秒执行一次 void foo cout lt lt Hello from foo lt lt endl 您可以提供一个简单
  • Django:如何将 STATIC_URL 设为空?

    是的 我希望它像 Flask 框架一样工作 在那里我可以设置如下参数 static folder os getcwd static static url path 以及其中的所有文件 static files blabla bla可以通过以
  • Entity Framework Code First 和 SQL Server 2012 序列

    我正在实施数据库审计跟踪 通过 Web API 项目中的控制器执行的 CRUD 操作将序列化旧的和新的 poco 并存储它们的值以供以后检索 历史 回滚等 当我让一切正常工作时 我不喜欢它在 POST 期间让我的控制器看起来如何 因为我最终
  • cordova.file.*(所有目录)为空

    我正在从事 Ionic 移动应用程序开发 我的要求是创建客户端记录器来跟踪应用程序中的问题 我使用了中提到的方法https github com pbakondy filelogger 我可以在 Android 和 iOS 中创建日志文件
  • 绘图框 p 值显着性注释

    我已经开始使用并喜欢绘制箱线图来表示我的数据 然而 我很难找到一种方法来对比这两个群体 使用Plotly时有没有办法引入数据之间的统计显着性比较 我想创建这样的图表 其中 对应于 p 值 0 05 我发现使用scipy stats ttes
  • 使用 c# mvc4 读取 rss feed

    这是我的第一篇文章 所以我遇到了这个问题 而且我对这种语言或 c 非常陌生 我有一个读取新闻 rss 的模型 然后使用相同的索引控制器 我必须将其传递给视图 这是我的模型 using System using System Collecti
  • Three.js Raycaster 不与自定义网格相交

    我通过创建带有顶点的几何图形 然后构建面来构建自定义网格 八角棱柱 我现在尝试添加鼠标悬停交互 但是 Raycaster 没有返回该网格的交集 我认为这是网格的问题 因为其他几何图形在场景中的相交处正确返回 完整的例子可以在这里看到 htt
  • java.lang.ClassNotFoundException: org.dom4j.DocumentException

    我编写了一些代码来学习hibernate 它抛出下面的错误 我如何找出问题所在并解决它 dom4j 听起来像是一个 XML 问题 是hibernate cfg xml的问题吗 Exception in thread main java la
  • 我实际上可以在cuda卡上分配多少内存

    我正在编写一个使用 cuda 在 GPU 上执行计算的服务器进程 我想对传入请求进行排队 直到设备上有足够的内存来运行作业 但我很难计算出可以在设备上分配多少内存 我对作业需要多少内存有一个很好的估计 至少从 cudaMalloc 分配多少
  • 如何使用 VS2015 远程运行测试?

    我有一些 CodedUI 测试 我想在 Visual Studio 的远程计算机上运行 现在 过去您需要在某处安装一个测试控制器 在要运行的盒子上安装一个测试代理 让它们说话 然后使用指向该控制器的测试设置文件 我正在经历这个并在我的运行箱
  • 当应用程序处于工作模式时,UILocalNotification 不会触发

    关于为什么本地通知无法正常触发有很多问题here and there 还有几个关于为什么当应用程序处于后台状态时本地通知不会触发的问题 我也经历过them 但令我惊讶的是 我没有找到任何与前台状态或活动状态相关的通知帖子 即在我的应用程序中
  • 如何分组并获取具有最大值的元素 - javascript/node.js

    我有以下数组 我试图通过按 EntryId 分组来获取具有最大 id 的元素node js entryId 7wpNAXhYI id 5 entryId 7wpNAXhYI id 6 entryId 5PGB23RI id 7 entryI
  • Highcharts y 轴天花板未得到尊重

    我在使用 Highcharts 时遇到问题 其中两个 y 轴之一的上限没有得到尊重 Y 轴 1 代表百分比值 因此下限为 0 上限为 100 Y 轴 2 代表货币值 因此下限为 0 上限为null 由于某种原因 y 轴 1 的标签最多为 1
  • 使用 Flexbox 左对齐和居中对齐元素

    我正在使用 Flexbox 来对齐我的子元素 我想做的是将一个元素居中 并使另一个元素靠左对齐 通常我会使用设置左侧元素margin right auto 问题在于将中心元素推离中心 这可能吗without使用绝对定位 HTML 和 CSS
  • 找不到“laravel/homestead”框

    尝试配置 laravel 5 1 克隆了拉拉维尔 家园 将其克隆到之后Home目录 尝试运行 vagrant up 命令时抛出错误 如下所示 user user laravel homestead vagrant up Bringing m