正在运行shell中的composer update -o --no-dev,出现以下错误。
使用软件包信息加载composer存储库更新 依赖项您的要求无法解决为可安装项 套包。
问题1
- The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
问题2
- league/uri 4.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system. - league/uri 4.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - league/uri 4.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - Installation request for league/uri ^4.2.3 -> satisfiable by league/uri[4.2.3, 4.x-dev].
使用--no-dev运行更新并不意味着require-dev被忽略,它 仅表示将不会安装软件包。如果开发要求是 阻止更新,您必须解决这些问题。
我的MAMP具有PHP 7.2.10版本和OSX 10.15.1(19B88)Catalina。 可以指出解决这个问题的方法。