Loading... # [Your requirements could not be resolved to an installable set of packages.](https://blog.csdn.net/qq_41240287/article/details/124089947) ```php Your requirements could not be resolved to an installable set of packages. - topthink/think-filesystem[v2.0.0, ..., v2.0.1] require topthink/framework ^6.1 -> found topthink/framework[v6.1.0, ..., v6.1.4] but it conflicts with your root composer.json require (^8.0). - league/mime-type-detection[1.0.0, ..., 1.3.0] require php ^7.2 -> your php version (8.1.4) does not satisfy that requirement. - league/mime-type-detection[1.4.0, ..., 1.12.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - topthink/think-filesystem v2.0.2 requires league/flysystem ^2.0 -> satisfiable by league/flysystem[2.0.0, ..., 2.5.0]. - Root composer.json requires topthink/think-filesystem ^2.0 -> satisfiable by topthink/think-filesystem[v2.0.0, v2.0.1, v2.0.2]. ... ``` 查看了下资料说是php版本不符,打开composer.json发现代码只要求大于7.0.0可仍然报这个错误,不用太较真执行如下代码之后在运行之前的代码就ok ```bash composer install --ignore-platform-reqs ``` 或者 ```bash composer update --ignore-platform-reqs ``` 最后修改:2023 年 08 月 16 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏