任何人都对下面的问题有所了解,所以请建议我:
composer update jenssegers/mongodb
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
问题1
- Conclusion: remove laravel/framework v5.5.40
- Conclusion: don't install laravel/framework v5.5.40
- jenssegers/mongodb v3.4.0 requires illuminate/database ^5.6 -> satisfiable
by illuminate/database[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6
.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.3, v5.6.4, v5.6.5
, v5.6.6, v5.6.7, v5.6.8, v5.6.9]
答案 0 :(得分:0)
删除您的composer.lock文件并打开composer.json。 将laravel版本更改为5.6。* 然后再次执行sudo composer安装。 这将解决你的问题。
快乐编码。