Open leeroybrun opened 2 years ago
I think this is not a bug. It is more a security issue in magento itself. In default magento tries to load just from trustful repos like https://repo.magento.com.
In order to change this behaviour u can add temporary a canonical parameter to your composer.json:
"repositories": { "0": { "type": "composer", "url": "https://repo.magento.com/" } },
and change it temporary to:
"repositories": { "0": { "type": "composer", "url": "https://repo.magento.com/", "canonical": false } },
Magento Repo needs updating to 1.4.5, currently 1.4.4. Packagist and latest GitHub release is 1.4.5.
https://marketplace.magento.com/facebook-facebook-for-magento2.html
Quick fix during waiting for the vendor to fix it.
You can exclude this extension from the Magento repository using the following line: "exclude": ["facebook/facebook-for-magento2"]
in your composer.json file
So your repository section should be like the following:
"0": {
"type": "composer",
"url": "https://repo.magento.com/",
"exclude": ["facebook/facebook-for-magento2"]
}
Then composer will start to use the higher version from packagist.
Read more about composer priority behavior. Repository priorities
Contact Details
leeroy.brun@batiplus.ch
What happened?
When trying to install the magento extension from composer, the install fail with this error:
Is it normal? Is it planned to update the version on https://repo.magento.com or should we do something on our side to bypass this?
Thank you for your help and have a great day!
Magento Version
2.4.4
Plugin Version
1.4.5
Relevant log output
Code of Conduct