Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Install on Pimcore 10 return a composer problem. #94

Closed
Yivan opened this issue Sep 22, 2021 · 1 comment
Closed

[Bug]: Install on Pimcore 10 return a composer problem. #94

Yivan opened this issue Sep 22, 2021 · 1 comment
Labels

Comments

@Yivan
Copy link
Contributor

Yivan commented Sep 22, 2021

Expected behavior

Install of data-importer will work fluently.

Actual behavior

Composer return:

www-data@demo-pimcore10-php-stage:~/html$ composer require pimcore/data-importer
Using version ^1.2 for pimcore/data-importer
./composer.json has been updated
Running composer update pimcore/data-importer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - pimcore/data-importer[v1.2.0, ..., 1.x-dev] require league/flysystem-sftp ^2.0 -> satisfiable by league/flysystem-sftp[2.0.0-alpha.1, ..., 2.x-dev].
    - league/flysystem-sftp[2.0.0, ..., 2.x-dev] require phpseclib/phpseclib ^2.0 -> found phpseclib/phpseclib[2.0.0, ..., 2.0.x-dev] but the package is fixed to 3.0.10 (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.
    - league/flysystem-sftp[2.0.0-alpha.1, ..., 2.0.0-RC1] require php ^7.2 -> your php version (8.0.10) does not satisfy that requirement.
    - Root composer.json requires pimcore/data-importer ^1.2 -> satisfiable by pimcore/data-importer[v1.2.0, 1.2.x-dev, 1.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
www-data@demo-pimcore10-php-stage:~/html$

So it needs to update some dependencies (downgrade) to be able to make it works.

Steps to reproduce

Install Pimcore 10 demo and after install data-importer.

I managed install it with the "--with-all-dependencies" composer param, but I don't know if it has side effects...

Thanks for looking into it.

@Yivan Yivan added the Bug label Sep 22, 2021
@fashxp
Copy link
Member

fashxp commented Sep 27, 2021

run composer update with --with-all-dependencies is the solution to that.

@fashxp fashxp closed this as completed Sep 27, 2021
Yivan added a commit to Yivan/data-importer that referenced this issue Nov 17, 2021
Hello,

I just intalled today again the extension and went on the problem I mentionned a few month ago  pimcore#94
I think it is better to update the install documentation with this additionnal parameter so install is fluid with no problem for people trying the extension.
(it tooks me some times to remember how to bypass this problem, so if it is directly on the install command on the documentation, no need to dig to find how to install it on Pimcore 10!)

Thanks,
Best regards
fashxp pushed a commit that referenced this issue Nov 29, 2021
Hello,

I just intalled today again the extension and went on the problem I mentionned a few month ago  #94
I think it is better to update the install documentation with this additionnal parameter so install is fluid with no problem for people trying the extension.
(it tooks me some times to remember how to bypass this problem, so if it is directly on the install command on the documentation, no need to dig to find how to install it on Pimcore 10!)

Thanks,
Best regards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants