Your requirements could not be resolved to an installable set of packages.
composer require ..... ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - ..... - Conclusion: don't install magento/framework
The error is possible in few cases:
- Required package is not compatible with your magento version
composer.lockfile is outdated.
You can run command:
and then run same composer command
composer require ... again.
Also you can add
--ignore-platform-reqs flag to command for ignore environment related issues (like php version):
composer require .... --ignore-platform-reqs