在使用Composer运行我的安装时,我遇到了这个错误:
λ composer install 您正在启用xdebug运行composer。这对运行时性能有重大影响。请参见https://getcomposer.org/xdebug 正在加载包含软件包信息的composer存储库 更新依赖项(包括require-dev) 无法将您的要求解决为可安装的软件包集。
错误信息:
问题1 - 要求的软件包antoineb1/smoney_bundle 1.0存在,但是被您的限制所拒绝,只有antoineb1/smoney_bundle [dev-master] 可以使用。
我的composer.json
{
"name": "project",
"license": "proprietary",
"type": "project",
"minimum-stability": "dev",
"prefer-stable" : true,
"autoload": {
"psr-4": {
"": "src/"
}
},
"config": {
"preferred-install": "dist"
},
"repositories": [
{
"url": "bitbucket url",
"type": "vcs"
}
],
"require": {
"php": ">=5.5.9",
"antoineb1/smoney_bundle": "1.0"
}
}
1.1.0
,而应该是v1.1.0
!天啊,我讨厌电脑... - Guillaume Bois