国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

composer安裝數(shù)據(jù)庫遷移擴(kuò)展報(bào)錯(已解決)

清夢獨(dú)行

問題描述

安裝數(shù)據(jù)庫遷移的時(shí)候報(bào)錯

程序代碼

composer require robmorgan/phinx

報(bào)錯信息

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cakephp/datasource[4.0.0, ..., 4.3.4] require psr/log ^1.1 -> found psr/log[1.1.0, ..., 1.1.4] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - cakephp/datasource[4.3.5, ..., 4.4.8] require psr/log ^1.0 || ^2.0 -> found psr/log[1.0.0, ..., 1.1.4, 2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - robmorgan/phinx 0.13.3 requires cakephp/database ^4.0 -> satisfiable by cakephp/database[4.0.0, ..., 4.4.8].
    - cakephp/database[4.0.0, ..., 4.4.8] require cakephp/datasource ^4.0 -> satisfiable by cakephp/datasource[4.0.0, ..., 4.4.8].
    - Root composer.json requires robmorgan/phinx ^0.13.3 -> satisfiable by robmorgan/phinx[0.13.3].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require robmorgan/phinx:*" to figure out if any version is installable, or "composer require robmorgan/phinx:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
1672 1 2
1個(gè)回答

keytehu

翻譯過來psr/log 被你composer.lock 鎖定為3.0了,但是cakephp/datasource 需要1.x的psr/log
按照提示命令里加一個(gè)-W自動升降級應(yīng)該就好了。 composer require -W robmorgan/phinx

年代過于久遠(yuǎn),無法發(fā)表回答
??