【发布时间】:2016-07-21 08:04:59
【问题描述】:
我尝试在我的 drupal8 根文件夹中使用此命令:
~/web$ php ../composer.phar drupal-update -dev
在我的 composer.json 文件中,我有:
{
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"type": "project",
"license": "GPL-2.0+",
"require": {
"composer/installers": "^1.0.21",
"wikimedia/composer-merge-plugin": "~1.3",
"league/csv": "^8.1@dev",
"swiftmailer/swiftmailer": "^5.4@dev"
},
"replace": {
"drupal/core": "~8.1",
"drupal/csv_serialization": "8.*",
"drupal/pathauto": "8.*",
"drupal/swiftmailer": "8.*"
},
"minimum-stability": "dev",
"prefer-stable": false,
"config": {
"preferred-install": "dist",
"autoloader-suffix": "Drupal8"
},
...
当我尝试这个命令时,我遇到了这个错误:
Problem 1
- The requested package league/csv ^7.1 is satisfiable by league/csv[7.1.0, 7.1.1, 7.1.2, 7.2.0] but these conflict with your requirements or minimum-stability.
Problem 2
- The requested package swiftmailer/swiftmailer 5.2.*@stable is satisfiable by swiftmailer/swiftmailer[v5.2.0, v5.2.1, v5.2.2] but these conflict with your requirements or minimum-stability.
在这里和那里找到的许多页面上,他们说将我的最低稳定性设置为“开发”,但没有任何改变。
当我尝试更新、删除或其他任何操作时...出现此错误。
如果您知道我做错了什么,我将非常感谢您为我付出的时间。
提前,非常感谢!
附:原谅我糟糕的英语
【问题讨论】:
标签: configuration composer-php updates export-to-csv drupal-8