1.错误提示
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
2.解决办法:直接忽略版本就是了
composer install –ignore-platform-reqs 或者 composer update –ignore-platform-reqs
3.成功
21 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead.
Generating autoload files
10 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
版权声明:本文为weixin_42408648原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。