ZF2에서 만든 로컬 환경에서 웹 사이트를 설정하고 있습니다. 코드를 복제 한 후 composer install
을 실행하고 오류가 발생했습니다. 도움이 될만한 답변을 찾으려고했지만 나에게 맞는 것은 찾지 못했으며 여기에 게시되었습니다. 여기가 발생했던 오류는 다음과 같습니다설치 중 ZF2 종속성 문제
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 zf-commons/zfc-user-doctrine-orm dev-master -> satisfiable by zf-commons/zfc-user-doctrine-orm[dev-master].
- zf-commons/zfc-user-doctrine-orm dev-master requires doctrine/doctrine-orm-module ~1.0 -> satisfiable by doctrine/doctrine-orm-module[1.0.0] but these conflict with your requirements or minimum-stability.
Problem 2
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.0
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.1
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.2
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.3
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.4
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.5
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.6
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.7
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.8
- don't install zendframework/zend-validator 2.8.1|don't install zendframework/zendframework 2.3.9
- doctrine/doctrine-module dev-master requires zendframework/zend-validator ^2.8.1 -> satisfiable by zendframework/zend-validator[2.8.1].
- Installation request for doctrine/doctrine-module dev-master -> satisfiable by doctrine/doctrine-module[dev-master].
- Installation request for zendframework/zendframework 2.3.* -> satisfiable by zendframework/zendframework[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9].
내 composer.json
다음이 포함
{
"name" : "zendframework/skeleton-application",
"description" : "Skeleton Application for ZF2",
"require" : {
"php" : ">=5.3.3",
"zendframework/zendframework" : "2.3.*",
"zendframework/zend-developer-tools" : "dev-master",
"zf-commons/zfc-user" : "1.*",
"doctrine/doctrine-module" : "dev-master",
"doctrine/doctrine-orm-module" : "dev-master",
"zendframework/zftool" : "dev-master",
"zf-commons/zfc-user-doctrine-orm" : "dev-master",
"beberlei/DoctrineExtensions" : "1.0"
},
"keywords" : [ "framework", "zf2" ],
"license" : "BSD-3-Clause",
"homepage" : "http://framework.zend.com/"
}
이 버전을 변경 시도하지만 올바른 하나를 얻을 수없는 것. 어떤 도움을 주시면 감사하겠습니다.
는 UPDATE :
Problem 1
- Installation request for doctrine/doctrine-orm-module 0.8.* -> satisfiable by doctrine/doctrine-orm-module[0.8.0].
- doctrine/doctrine-orm-module 0.8.0 requires doctrine/doctrine-module 0.8.* -> satisfiable by doctrine/doctrine-module[0.8.0, 0.8.0-beta1, 0.8.0-beta2, 0.8.1] but these conflict with your requirements or minimum-stability.
Problem 2
- Installation request for zf-commons/zfc-user-doctrine-orm dev-master -> satisfiable by zf-commons/zfc-user-doctrine-orm[dev-master].
- zf-commons/zfc-user-doctrine-orm dev-master requires doctrine/doctrine-orm-module ~1.0 -> satisfiable by doctrine/doctrine-orm-module[1.0.0] but these conflict with your requirements or minimum-stability.
감사합니다 : @ 알 - fonce에 의해 제안 된 변경 사항을 적용 후
는 오류가 감소했다!
대답 주셔서 감사합니다, 그 오류를 줄이는 것 같았다. 지금 내 게시물을 업데이트했습니다 ... – ubuntux