在Symfony2 Composer.phar中安装新捆绑包时出错

时间:2015-05-29 10:27:17

标签: symfony

当我使用此命令时安装新捆绑包时遇到问题:

php composer.phar require mesd/jasper-report-bundle "~1.0"

显示以下错误:

C:\wamp\www\ADMSymfony>php composer.phar require mesd/jasper-report-bundle "~1.0"
./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
    - The requested package friendsofsymfony/user-bundle == 1.3.5.0 could not be 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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

这是我的composer.json:

{
    "require": {
        "friendsofsymfony/user-bundle": "~2.0@dev",
        "widop/google-analytics-bundle": "*",
        "whiteoctober/tcpdf-bundle": "*",
        "knplabs/knp-snappy-bundle": "dev-master"
    }
}

0 个答案:

没有答案