解决Composer Installing dependencies from lock file

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - phpoffice/phpspreadsheet is locked to version 1.18.0 and an update of this package was not requested.
    - phpoffice/phpspreadsheet 1.18.0 requires ext-zip * -> it is missing from your system. Install or enable PHP's zip extension.

composer install --ignore-platform-reqs

或者
composer update --ignore-platform-reqs
posted @ 2021-08-06 10:28  sunyheart  阅读(4105)  评论(0编辑  收藏  举报