其他分享
首页 > 其他分享> > 解决Composer Installing dependencies from lock file

解决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

标签:composer,lock,Installing,update,platform,file,reqs,Composer
来源: https://www.cnblogs.com/yamboo/p/15107389.html