更新时composer.json卡住了

时间:2019-04-14 06:31:05

标签: composer-php composer.json

我的composer.json遇到了这个问题。当我尝试运行 composer update -vvv 时,它开始下载所有必需的程序包并被卡住,从未结束该过程,并且最终没有给出任何错误(等待〜12hrs)。我想解决此问题,因此以后我可以毫无问题地升级symfony版本。在此先感谢您的帮助。 作曲家诊断仅显示警告,其他都没问题。这是我的composer.json。

{
    "name": "",
    "license": "MIT",
    "type": "project",
    "description": "",
    "autoload": {
        "psr-4": {
            "": "src/"
        },
        "classmap": [ "app/AppKernel.php", "app/AppCache.php" ]
    },
    "autoload-dev": {
        "files": [ "vendor/symfony/symfony/src/Symfony/Component/VarDumper/Resources/functions/dump.php" ]
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/..../banklink"
        }
    ],
    "require": {
        "php": ">=5.3.9",
        "symfony/symfony": "2.8.*",
        "doctrine/orm": "^2.4.8",
        "doctrine/doctrine-bundle": "~1.4",
        "twig/extensions": "~1.0",
        "symfony/assetic-bundle": "~2.3",
        "symfony/swiftmailer-bundle": "~2.3,>=2.3.10",
        "symfony/monolog-bundle": "^3.0.2",
        "sensio/distribution-bundle": "~4.0",
        "sensio/framework-extra-bundle": "^3.0.2",
        "sensio/generator-bundle": "~3.0",
        "incenteev/composer-parameter-handler": "~2.0",

        "components/jquery": "1.9.*",
        "components/jqueryui": "1.11.*",
        "components/bootstrap": "3.3.*",

        "phpunit/phpunit": "4.5.*@dev",
        "isoft/mssql-bundle": "master-dev",
        "ob/highcharts-bundle": "1.2.*@dev",
        "knplabs/knp-snappy-bundle": "1.2.*@dev",
        "inori/banklink": "dev-master",
        "whiteoctober/tcpdf-bundle": "1.0.0",
        "tecnick.com/tcpdf": "6.2.6",

        "sonata-project/admin-bundle": "2.3.*",
        "sonata-project/doctrine-orm-admin-bundle": "2.3.*",
        "sonata-project/user-bundle": "~2.3@dev",
        "friendsofsymfony/user-bundle": "1.3.*@dev",
        "sonata-project/easy-extends-bundle": "~2.1@dev",
        "symfony/var-dumper": "~3.0@dev",
        "simplethings/entity-audit-bundle": "^1.0,>=1.0.2",
        "sonata-project/formatter-bundle": "~2.4@dev",

        "guzzlehttp/guzzle": "6.0.*@dev",
        "zendframework/zend-stdlib": "2.6.0"
    },
    "scripts": {
        "symfony-scripts": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ],
        "post-install-cmd": [
            "@symfony-scripts"
        ],
        "post-update-cmd": [
            "@symfony-scripts"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "minimum-stability": "dev",
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "symfony-assets-install": "relative",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        },
        "branch-alias": {
            "dev-master": "2.8-dev"
        }
    }
}

0 个答案:

没有答案