安装后访问requirements.php报错,提示没有文件夹,查看了下确实没有,通过composer update之后也没有 composer版本1.0.2
完全按照官网手册进行安装的,大神帮忙给看一下
xindeMacBook-Air:basic xin$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.5 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- Installation request for yiisoft/yii2 >=2.0.5 -> satisfiable by yiisoft/yii2[2.0.5, 2.0.6, 2.0.7].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Composer throw [ReflectionException] Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist
,我昨天也遇到一样的问题,我是直接把vendor文件夹删除,composer.lock文件删除,再执行composer install的
将composer卸载重装,再安装Yii2.0
先执行这个:
你直接就下载个安装包的了