There may be an issue when the composer is installing a newer package version than it's required. The newer package can contain the breaking changes that causes project crashes.
In order to prevent this, ScandiPWA theme should be up to date. But for some cases this is not possible.
Thus ScandiPWA has strict composer versions for the
The following steps must be completed to update a custom ScandiPWA module to the specific version:
composer.json file in your theme directory and set desired version for packages you need. You might want to update multiple packages at once.
In order to update ScandiPWA composer dependencies you have to run the
composer update command with all packages you trying to update.
For example, if you edited
composer.json and set new versions to
scandipwa/compare-graphql, the command would be the following:
composer update scandipwa/catalog-graphql scandipwa/compare-graphql
Only root package requirements can receive temporary constraintsand scandipwa/quote-graphql is not one
Your requirements could not be resolved to an installable set of packages.