Posted by davidd07 on March 8, 2021 at 11:22am
I have been trying so long for this to work, before it always used to work with my old computer. With the new one I seem to be unable for it to work.
Composer works fine but Drush seems to not work, I am having an issue where:
@-MacBook-Pro Desktop % composer require drush/drush Using version ^10.4 for drush/drush ./composer.json has been created Running composer update drush/drush Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - enlightn/security-checker[v1.0, ..., v1.7.0] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. - drush/drush 10.4.0 requires enlightn/security-checker ^1 -> satisfiable by enlightn/security-checker[v1.0, ..., v1.7.0]. - Root composer.json requires drush/drush ^10.4 -> satisfiable by drush/drush[10.4.0]. Installation failed, deleting ./composer.json.
I have gone through numerous tutorials, but keep coming up width "security-checker" and can not continue.
Also when running % drush I get
The Drush launcher could not find a Drupal site to operate on. Please do > one of the following:
Navigate to any where within your Drupal project and try again. Add --root=/path/to/drupal so Drush knows where your site is located.

Comments
Worth a shot
Is there a enlightn/security-checker in your composer.json file ?
If so try removing it manually and also remove the composer.lock file and give it another try.
Curious about "Install or enable PHP's zip extension" as well. May want to check your local machines php.ini file as last resort.
Hope this helps.
Cheers
Hey mate, I removed the
Hey mate, I removed the composer.lock and then it when't through the same process, very annoying.
The "Install or enable PHP's zip extension" might go through it.