FriendsOfSylius / SyliusImportExportPlugin

Sylius plugin to import / export data
MIT License
118 stars 82 forks source link

Composer installation fails on symfony 4.4 #241

Open lwillems opened 4 years ago

lwillems commented 4 years ago

Hello,

Got the following error with composer when trying to install on sylius 1.8.0-dev (SF 4.4.7)

  Problem 1
    - Conclusion: don't install symfony/symfony v4.4.7
    - Installation request for symfony/web-profiler-bundle (locked at v4.4.7, required as ^4.4) -> satisfiable by symfony/symfony[v4.4.7], symfony/web-profiler-bundle[v4.4.7].
    - Installation request for symfony/dom-crawler (locked at v5.0.7) -> satisfiable by symfony/dom-crawler[v5.0.7].
    - Installation request for symfony/dotenv (locked at v4.4.7, required as ^4.4) -> satisfiable by symfony/dotenv[v4.4.7], symfony/symfony[v4.4.7].
    - Installation request for symfony/framework-bundle (locked at v4.4.7) -> satisfiable by symfony/framework-bundle[v4.4.7], symfony/symfony[v4.4.7].
    - Installation request for friendsofsylius/sylius-import-export-plugin 0.17.0 -> satisfiable by friendsofsylius/sylius-import-export-plugin[0.17.0].
    - Installation request for symfony/stopwatch (locked at v5.0.7) -> satisfiable by symfony/stopwatch[v5.0.7].
    - symfony/messenger v4.4.7 conflicts with symfony/symfony[v3.4.7].
    - symfony/symfony v3.4.7 conflicts with symfony/messenger[v4.4.7].
    - Conclusion: install symfony/symfony v3.4.7
    - Installation request for symfony/messenger (locked at v4.4.7) -> satisfiable by symfony/messenger[v4.4.7], symfony/symfony[v4.4.7].

Any idea to solve this issue ?

s4iya commented 4 years ago

Same here, #239 didn't seem to have fixed it for me. For now, the only way I got it to work was by downgrading to 0.16.

"require": {
        "friendsofsylius/sylius-import-export-plugin": "^0.16.0",
        "symfony/stopwatch": "^3.3 | ^4.1 | ^5.0"
}
oallain commented 4 years ago

Hello @lwillems and @s4iya

Sylius have make a fix who was merged in Sylius 1.7. See at https://github.com/Sylius/Sylius/pull/11802

It fix you issue ?