0

私はdrupal8のルートフォルダに、このコマンドを使用するようにしてください:Drupal8作曲リーグ/ csvファイルおよびではSwiftMailer紛争または最小安定

{ 
"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": "^[email protected]", 
    "swiftmailer/swiftmailer": "^[email protected]" 
}, 
"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" 
}, 
... 

~/web$ php ../composer.phar drupal-update -dev 

私が持っている私のcomposer.jsonファイルでこのコマンドを試してみると、私はこのエラーが発生します:

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. 

多くのページには、 "dev"しかし何も変わりません。

私が更新しようとすると、削除するか何か...私はこのエラーがあります。

私が間違っていることを知っているなら、私はあなたが私のために取っている時間に非常に感謝します。

事前に、ありがとうございます!

p.s.私のひどい英語のために私を許してください

答えて

0

コンポーザーが依存関係を処理する方法のために、composer.jsonファイルを編集し、2つの依存関係をダウングレードして機能させる必要があります。

例:

{ 
"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": "^7.2", 
    "swiftmailer/swiftmailer": "^5.2" 
}, 
"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" 
}, 
関連する問題