I have a fresh installation of Magento 2.1.13 running on php 5.6.When i try to install an extension i can't pass the Readiness Check. The following error is appearing:
Check Component Dependency
We found conflicting component dependencies.
Also, if i see the console a 503 error appears:
/setup/index.php/dependency-check/component-dependency:1 Failed to load resource: the server responded with a status of 503 (Service Unavailable)
I check the info on the issues -> https://devdocs.magento.com/guides/v2.0/install-gde/trouble/readiness/tshoot_rc_depend.html, It does mention 3 things:
- issues from manually editing composer.json: I've never touched this file
- file system permissions: I've re-applied permissions on every install, error persists.
- deleting <your Magento install dir>/var/.update_cronjob_status and <your Magento install dir>/var/.setup_cronjob_status to change status of Component Dependency Check.
My crons are set following the guide on serverpilot -> https://serverpilot.io/community/articles/how-to-install-magento-2.html, all setting up to php 5.6.
Thanks in advance!
Solved! Go to Solution.
You may see "require-dev" tag in composer.json file.
Run composer install or update with --no-dev flag. This will not install developer dependency packages.
composer install --no-dev
composer update --no-dev
Then try to installed from the same , that might help you !!
That's solved the issue. thanks! I have to also increase the memory swap available on the serverpilot server. This is how -> https://iarijit.com/blog/increase-swap-serverpilot-ubuntu-16-04/
Glad to know that you have resolved your issue !! Happy to help and keep helping