猴子请我来帮忙
- 猴子请我来帮忙 2020-01-03 已签到连续签到1天,获得了5个金钱
- 猴子请我来帮忙 2016-06-12 已签到连续签到1天,获得了5个金钱
第五步的时候出错了
C:\wamp\www\yii2\advanced>php composer.phar global require "fxp/composer-asset-plugin:1.0.0" Changed current directory to C:/Users/Floruit/AppData/Roaming/Composer You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug ./composer.json has been created 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 - Installation request for fxp/composer-asset-plugin 1.0.0 -> satisfiable by fxp/composer-asset-plugin[v1.0.0]. - fxp/composer-asset-plugin v1.0.0 requires composer-plugin-api 1.0.0 -> no matching package found. 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. Installation failed, deleting ./composer.json. C:\wamp\www\yii2\advanced>
composer global require "fxp/composer-asset-plugin:~1.1.1"
找不到 1.0.0 的包,改成 1.1.1 好了第五步的时候出错了
C:\wamp\www\yii2\advanced>php composer.phar global require "fxp/composer-asset-plugin:1.0.0" Changed current directory to C:/Users/Floruit/AppData/Roaming/Composer You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug ./composer.json has been created 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 - Installation request for fxp/composer-asset-plugin 1.0.0 -> satisfiable by fxp/composer-asset-plugin[v1.0.0]. - fxp/composer-asset-plugin v1.0.0 requires composer-plugin-api 1.0.0 -> no matching package found. 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. Installation failed, deleting ./composer.json. C:\wamp\www\yii2\advanced>