簡體   English   中英

運行composer.phar更新時出錯

[英]Error Running composer.phar update

這工作大約3個月前,這是我最后一次編輯此JSON文件。 當時的更改是將引用添加到ThirdEngine/DotNetIntegration ,這是我編寫的庫。 運行php composer.phar更新會給我以下錯誤。

問題1

教義/遷移dev-master的安裝請求->教義/遷移[dev-master]可滿足的要求。

doctrine / migrations dev-master需要symfony / console〜2.3->找不到匹配的軟件包。

問題2

教義/遷移1.0.x-dev需要symfony / console〜2.3->找不到匹配的軟件包。

教義/學說-遷移-捆綁dev-master要求教義/遷移〜1.0->可以由教義/遷移[1.0.x-dev]滿足。

doctrine / doctrine-migrations-bundle dev-master的安裝請求-> doctrine / doctrine-migrations-bundle [dev-master]可滿足的安裝請求。

 { "name": "latent-codex/estimator", "description": "", "autoload": { "psr-0": { "": "src/" } }, "require": { "php": ">=5.3.3", "symfony/symfony": "2.2.*", "propel/propel-bundle": "1.1.*", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "1.2.*", "doctrine/doctrine-fixtures-bundle": "dev-master", "doctrine/doctrine-migrations-bundle": "dev-master", "doctrine/migrations": "dev-master", "doctrine/data-fixtures": "dev-master", "twig/extensions": "1.0.*", "symfony/assetic-bundle": "2.1.*", "symfony/swiftmailer-bundle": "2.2.*", "symfony/monolog-bundle": "2.2.*", "symfony/console": "2.2.*", "sensio/distribution-bundle": "2.2.*", "sensio/framework-extra-bundle": "2.2.*", "sensio/generator-bundle": "2.2.*", "jms/security-extra-bundle": "1.4.*", "jms/di-extra-bundle": "1.3.*", "braintree/braintree_php" : "2.27.0", "mikehaertl/phpwkhtmltopdf": "1.2.*", "h4cc/wkhtmltopdf-amd64": "0.12.*", "intervention/image": "2.*", "robmorgan/phinx": "*", "phpunit/phpunit": "4.3.*", "ThirdEngine/DotNetIntegration": "dev-master", "symfony/process": "2.2.*" }, "scripts": { "post-install-cmd": [ "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": [ "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", "github-oauth": { "github.com": "3d9b33f82636944b2cf643e5bf4011c2a89af6b4" } }, "minimum-stability": "alpha", "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "branch-alias": { "dev-master": "2.2-dev" } }, "repositories": [ { "type": "vcs", "url": "git://github.com/ThirdEngine/DotNetIntegration.git" } ] } 

我最終只是將框架升級到較新的版本,並將composer.json中的版本正確設置為固定版本,就像它本來應該做的那樣。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM