composer install yii2出错啊 [ 2.0 版本 ]
composer install yii2出错,出错的信息如下:
vagrant@vagrant-ubuntu-trusty-64:/home/websites$ composer create-project --prefer-source yiisoft/yii2-app-basic basic
Installing yiisoft/yii2-app-basic (2.0.11)
Installing yiisoft/yii2-app-basic (2.0.11): Failed to download yiisoft/yii2-app-basic from source: The Process class relies on proc_open, which is not available on your PHP installation.
Now trying to download from dist
Installing yiisoft/yii2-app-basic (2.0.11): Loading from cache
Created project in basic
Loading composer repositories with package information
Updating dependencies (including require-dev)
[Composer\Repository\InvalidRepositoryException]
No valid bower.json was found in any branch or tag of https://github.com/jquery/jquery-dist.git, could not load a package from it.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []
跪求大神帮忙解惑~
共 3 个回答
-
-
-
1.用中国镜像:composer config -g repo.packagist composer https://packagist.phpcomposer.com
2、composer update
3、再下载
qc100f
注册时间:2014-08-13
最后登录:2019-02-18
在线时长:10小时35分
最后登录:2019-02-18
在线时长:10小时35分
- 粉丝4
- 金钱640
- 威望0
- 积分740