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
Magento installation fails with composer 2.2.0 RC1 #34831
Comments
Hi @jonashrem. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @jonashrem, We have tried this issue by running below command:
And for us, the issue is reproducible for us: Hence confirming this issue. Thanks |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2008 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
@sidolov i put priority to p1 as you can’t crate a new magento project with composer 2.2 |
Composer 2.2 has been released today. At this time Magento2 is not compatible with Composer 2. |
You have to downgrade the version of composer to 2.1.4 |
In Magento cloud we have the version 2.1.14 and we have the same problem |
If you pin it in
then clear your project's build cache. |
Hi, consider using the more generic '>=2.0 <2.2' for composer version in dependencies:
php:
composer/composer: '>=2.0 <2.2' |
As long there are versions like 2.1.14 having the same issue, i will go with :
|
changing composer version to '2.1.4' fixed this issue for us. TY |
Same issue here, by changing the version to 2.1.4 fixed my installation. |
Linking to two bugreports on composer's repo:
Based on the comments in there, I'd expect the next version of composer to be released within a few days which will probably fix this problem. |
This issue is now fixed in composer 2.2.1 Make sure to allow all the plugins it asks for during installation to be allowed though. |
In my end. Composer version 2.1.2 worked well on Magento V2.4.2, V2.4.2-p1, V2.4.3, V2.4.3-p1 |
You'd probably want to update to at least composer 2.2.3 to avoid other crazy weirdness happening 😉 |
Added --no-interaction --no-progress to composer require and composer install due magento/magento2#34831
Added --no-interaction --no-progress to composer require and composer install due magento/magento2#34831
magento installation fails with composer 2.2.0 RC1
Preconditions (*)
install composer 2.2.0 RC1
Steps to reproduce (*)
download composer 2.2.0 from https://getcomposer.org/download/2.2.0-RC1/composer.phar
php7.4 composer2 create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2
Expected result (*)
magento installes as with composer 2.1
Actual result (*)
magento installation fails:
The text was updated successfully, but these errors were encountered: