I am creating a test environment for magento, hoping that I can replicate later for some work on it, and have come up an issue on Check Component Dependency. the base config is as followed:
Specs are as followed: MAMP PRO 4.4.1 M2.1.9 CE (Clean) php 7.0.27
I have installed as per MAMP Pro advice on their site (https://documentation.mamp.info/en/MAMP-PRO-Mac/How-Tos/General/SetupComposer/), with downloading to composer via Terminal into the magento directory and run the following commands:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
I have also run this command as well as part of a different sequence.
php composer-setup.php --install --no-dev
but this doesn't seem to work at all, terminal is saying all is ok (install wise), and the PHP is the correct PHP (check with "which php"), given there is a local machine php and mamp pro php.