首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行git克隆https://github.com/bergie/create.git失败128个

运行git克隆https://github.com/bergie/create.git失败128个
EN

Stack Overflow用户
提问于 2014-11-26 11:36:14
回答 1查看 641关注 0票数 0

我正在安装Symfony-CMF(https://github.com/symfony-cmf/standard-edition)

当我更新composer时,它将返回此错误。

代码语言:javascript
复制
Loading composer repositories with package information
Updating dependencies (including require-dev)
Generating autoload files
Updating the "app/config/parameters.yml" file
Download or update create
fatal: la referencia no es un árbol: a148ce9633535930d7b4b70cc1088102f5c5eb90
Script Symfony\Cmf\Bundle\CreateBundle\Composer\ScriptHandler::downloadCreateAndCkeditor handling the post-update-cmd event terminated with an exception

  [RuntimeException]                                                      
  Running git clone https://github.com/bergie/create.git failed with 128

这是我的composer.json

代码语言:javascript
复制
{
"name" : "myProject",
"description" : "Project Debug",
"autoload" : {
    "psr-0" : {
        "" : "src/"
    }
},
"repositories" : [{
        "type" : "package",
        "package" : {
            "name" : "jquery/jquery",
            "version" : "1.10.2",
            "dist" : {
                "url" : "http://code.jquery.com/jquery-1.10.2.js",
                "type" : "file"
            }
        }
    }
],
"minimum-stability" : "dev",
"provide" : {
    "lib-ICU" : "4.9"
},
"require" : {
    "sopinet/composergeneric" : "dev-master",
    "jms/payment-core-bundle" : "dev-master",
    "jms/payment-paypal-bundle" : "dev-master",
    "knplabs/knp-snappy-bundle" : "dev-master",
    "gregwar/captcha-bundle" : "dev-master",
    "wisembly/excelant": "*",
    "sonata-project/admin-bundle": "2.3.*@dev",
    "jms/translation-bundle": "dev-master",
    "lunetics/locale-bundle": "2.2.*",
    "symfony-cmf/symfony-cmf": "1.2.*",
    "symfony-cmf/simple-cms-bundle": "1.2.*",
    "symfony-cmf/create-bundle": "1.2.*",
    "jackalope/jackalope-doctrine-dbal": "1.1.*",
    "nelmio/alice": "~1.0"
},
"scripts": {
    "post-install-cmd": [
        "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
        "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
    ],
    "post-update-cmd": [
        "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
        "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
    ]
},
"config": {
    "bin-dir": "bin"
},
"extra": {
    "symfony-app-dir": "app",
    "symfony-web-dir": "web",
    "incenteev-parameters": {
        "file": "app/config/parameters.yml"
    },
    "branch-alias": {
        "dev-master": "1.2-dev"
    }
}

}

有人能帮我吗?我在其他项目上查过了,而且效果很好。谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-27 07:36:44

尝试rm -rf供应商/*并重新安装

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27148155

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档