第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

在 Symfony 4/5 中安裝 orm-fixtures 時(shí)發(fā)生 Composer 沖突

在 Symfony 4/5 中安裝 orm-fixtures 時(shí)發(fā)生 Composer 沖突

PHP
哈士奇WWW 2023-11-03 20:10:00
當(dāng)我嘗試orm-fixtures在 Symfony 5.1中安裝時(shí)遇到問(wèn)題:$ composer require orm-fixtures --devUsing version ^3.3 for doctrine/doctrine-fixtures-bundle./composer.json has been updatedLoading composer repositories with package informationUpdating dependencies (including require-dev)Restricting packages listed in "symfony/symfony" to "5.1.*"Your requirements could not be resolved to an installable set of packages.  Problem 1    - Conclusion: don't install doctrine/doctrine-fixtures-bundle 3.3.1    - Conclusion: remove doctrine/cache 1.10.2    - Conclusion: don't install doctrine/cache 1.10.2    - doctrine/common 2.2.1 conflicts with doctrine/cache[1.10.2].    - doctrine/common 2.2.2 conflicts with doctrine/cache[1.10.2].    - doctrine/common 2.2.3 conflicts with doctrine/cache[1.10.2].    - doctrine/common 2.3.0 conflicts with doctrine/cache[1.10.2].    - Conclusion: don't install doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|install doctrine/common 2.2.3|install doctrine/common 2.3.0    - Conclusion: don't install doctrine/doctrine-fixtures-bundle 3.3.1|remove doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|install doctrine/common 2.2.3|install doctrine/common 2.3.0    - Conclusion: don't install doctrine/doctrine-fixtures-bundle 3.3.1|don't install doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|install doctrine/common 2.2.3|install doctrine/common 2.3.0    - Installation request for doctrine/cache (locked at 1.10.2) -> satisfiable by doctrine/cache[1.10.2].    - Conclusion: don't install doctrine/doctrine-fixtures-bundle 3.3.1|remove doctrine/common 3.0.2|install doctrine/common 2.2.1|install doctrine/common 2.2.2|in
查看完整描述

3 回答

?
富國(guó)滬深

TA貢獻(xiàn)1790條經(jīng)驗(yàn) 獲得超9個(gè)贊

現(xiàn)在,裝置可以干凈地加載,無(wú)需任何調(diào)整。使用此過(guò)程的人可能希望從沖突部分中刪除條令行,并進(jìn)行另一個(gè)作曲家更新以恢復(fù)同步。


要重現(xiàn)該問(wèn)題,請(qǐng)從新的 5.1 項(xiàng)目開(kāi)始并嘗試安裝固定裝置包:


symfony new --full new_project

cd new_project

composer require --dev orm-fixtures

然后您會(huì)收到又大又長(zhǎng)的錯(cuò)誤消息。這是當(dāng)權(quán)者正在努力的事情。實(shí)際上有點(diǎn)奇怪的是,這類問(wèn)題竟然在各種測(cè)試過(guò)程中都被忽略了。很稀少。


然而,你可以通過(guò)做一些原則降級(jí)來(lái)解決這個(gè)問(wèn)題。將這些學(xué)說(shuō)行添加到composer.json:


    "conflict": {

        "symfony/symfony": "*",

        "doctrine/common": ">= 3.0",

        "doctrine/persistence": "<1.3"

    },

然后,秘密成分是,您應(yīng)該清除作曲家緩存并進(jìn)行作曲家更新以實(shí)際降級(jí)學(xué)說(shuō):


composer clear-cache

composer update

composer require --dev orm-fixtures

它應(yīng)該有效。


但同樣,這有望在不久的將來(lái)得到解決。


查看完整回答
反對(duì) 回復(fù) 2023-11-03
?
慕森王

TA貢獻(xiàn)1777條經(jīng)驗(yàn) 獲得超3個(gè)贊

正如錯(cuò)誤消息中所寫(xiě):最新版本的doctrine/doctrine-fixtures-bundlerequire doctrine/data-fixtures。該軟件包尚不與doctrine/commonv3 兼容,但該版本當(dāng)前已安裝在您的系統(tǒng)上。

無(wú)論您如何安裝doctrine/common,都需要將其降級(jí)。如果您需要幫助,請(qǐng)編輯您的問(wèn)題以包含您的composer.json


查看完整回答
反對(duì) 回復(fù) 2023-11-03
?
紫衣仙女

TA貢獻(xiàn)1839條經(jīng)驗(yàn) 獲得超15個(gè)贊

正在修復(fù):https://github.com/doctrine/data-fixtures/pull/349/files

同時(shí)您可以通過(guò)添加來(lái)安裝它


"repositories": [

    {

        "type": "vcs",

        "url": "https://github.com/fruitwasp/data-fixtures"

    }

],

到你的composer.json然后運(yùn)行


composer require doctrine/data-fixtures:"dev-doctrinecommon as 1.4.3" --dev

composer require orm-fixtures --dev


查看完整回答
反對(duì) 回復(fù) 2023-11-03
  • 3 回答
  • 0 關(guān)注
  • 253 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)