I got stuck at this erro, help me to resolve the same
Could not find package magento/project-enterprise-edition with stability stable.
Following the steps mentioned here
In my experience this is due to the account you are using not having access to download the enterprise (commerce) edition. If you are supposed to have access then you may need to contact Magento to grant it on your account.
If you are working on a client with Enterprise access, for example, and your personal account doesn't have access you can set up new Access Keys on their account and then use the public/private keys as your user/pass in your composer auth config. On my Mac that file is located at ~/.composer/auth.json
Hi, I've come across the same error, however I do have the public/private keys for the project.
The Magento2 installation documentation (https://devdocs.magento.com/guides/v2.3/install-gde/composer.html) suggests I will be prompted to give the credentials but I don't. Creating an auth.json file in the directory where I want to install Magento Commerce does not change anything.
Have you got any ideas?
OK so in my case it was that composer was not asking me for the credentials, and the ones I creaded in auth.json (in the directory where I wanted to install Magento) were not pulled in. Based on an answer found here: https://magento.stackexchange.com/a/90985/76224 I added the keys to the global config and this fixed the issue for me.
The problem is with composer, You need to update the Magento enterprise keys in composer using the below commands, because composer is not asking for the keys:
composer global config http-basic.repo.magento.com <public_key> <private_key>
If you are using sudo then try:
sudo composer global config http-basic.repo.magento.com <public_key> <private_key>