Rumah > Soal Jawab > teks badan
安装这个项目hhttps://github.com/funson86/f...
根据tests里面的安装方法无法正常安装,运行不起来,求大神解决。谢谢,本人yii2小白。
$ composer require --dev yiisoft/yii2-faker:*
./composer.json has been updated
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
- devgroup/yii2-dropzone v1.0.4 requires bower-asset/dropzone ~4.0 -> no matching package found.
- devgroup/yii2-dropzone v1.0.3 requires bower-asset/dropzone ~4.0 -> no matching package found.
- devgroup/yii2-dropzone v1.0.2 requires bower-asset/dropzone ~3.10 -> no matching package found.
- devgroup/yii2-dropzone v1.0.1 requires bower-asset/dropzone ~3.10 -> no matching package found.
- devgroup/yii2-dropzone v1.0.0 requires bower-asset/dropzone ~3.10 -> no matching package found.
- devgroup/yii2-dropzone dev-master requires bower-asset/dropzone ~4.0 -> no matching package found.
- devgroup/yii2-dropzone dev-FixJS requires bower-asset/dropzone ~4.0 -> no matching package found.
- devgroup/yii2-dropzone 1.0.5 requires bower-asset/dropzone ~4.0 -> no matching package found.
- Installation request for devgroup/yii2-dropzone * -> satisfiable by devgroup/yii2-dropzone[1.0.5, dev-FixJS, dev-master, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4].
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/0... for more details.
Read https://getcomposer.org/doc/a... for further common problems.
Installation failed, reverting ./composer.json to its original content.
迷茫2017-04-11 09:51:43
bower是前端依赖库.试下更新composer的前端插件包,然后再安装
composer global require "fxp/composer-asset-plugin:~1.2.0