Php 盒子&x27;拉雷维尔/家园和#x27;找不到
正在尝试配置laravel 5.1 克隆 将其克隆到Php 盒子&x27;拉雷维尔/家园和#x27;找不到,php,ubuntu,laravel,vagrant,laravel-5,Php,Ubuntu,Laravel,Vagrant,Laravel 5,正在尝试配置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
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/homestad
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
3。宅地:
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
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 Cloud是在1.5 IRC中引入的,因此您的
Vagrant
不知道如何处理像Vagrant box add laravel/homestead
这样的命令下载它以添加完整的URLThis 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
您可以将此虚拟机框用于其迄今为止的最新版本如果您想更改到其他版本或更新的版本,只需更改其编号
所以命令应该是这样的
流浪者箱添加laravel/宅地https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.1/providers/virtualbox.box
如果您尝试直接添加框,会发生什么情况<代码>流浪者框添加laravel/homestead@Alik-更新了我的问题,请有一个chkAlso添加有关流浪者版本的信息流浪者-v
。《代码》中的流浪者盒子到底添加了什么https://atlas.hashicorp.com/laravel/boxes/homesteadoutput?您是否在本地安装了PHP和composer?Homestead通常不会按照您描述的方式安装。@ecs-是的,php和composer都已安装。在开始拉雷维尔之前,这太基本了,我已经仔细地做了