祝大家有美好的一天。我在安装宅基地时遇到了一些严重的问题。我已经有了 vagrant、Virtualbox、laravel/homestead 盒子:vagrant box
添加laravel/homestead
。在运行中composer global require "laravel/homestead=~2.0"
我得到这个:
Changed current directory to /Users/Mavericks/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing apigen/apigen (v2.8.1)
Downloading: 100%
[ErrorException]
ZipArchive::extractTo(/Users/Mavericks/.composer/vendor/composer/7305d654/
apigen-apigen-bca0954/apigen): failed to open stream: Is a directory
这是在我的.bash_profile
#Adding Homestead PATH
export HOMESTEAD_PATH=~/.composer/vendor/bin
export PATH=$HOMESTEAD_PATH:$PATH
如果有人能指出我解决这个问题的正确方向,我会很高兴。