我最近为我的一个项目安装了laravel 5.8,但不幸的是,我在安装从未有过的软件包时遇到了一些问题。 对于exp,我想为验证用户安装jrean软件包,但出现此错误:
*您的要求无法解决为一组可安装的软件包。
问题1
- Conclusion: don't install jrean/laravel-user-verification V8.0.0
- Conclusion: remove laravel/framework v5.8.35
- Installation request for jrean/laravel-user-verification ^8.0 -> satisfiable by jrean/laravel-user-verification[8.0.x-dev, V8.0.0].
- Conclusion: don't install laravel/framework v5.8.35
- jrean/laravel-user-verification 8.0.x-dev requires illuminate/support ^6.0 -> satisfiable by
illuminate / support [6.x-dev,v6.0.0,v6.0.1,v6.0.2,v6.0.3,v
6.0.4]。
- don't install illuminate/support 6.x-dev|don't install laravel/framework v5.8.35
- don't install illuminate/support v6.0.0|don't install laravel/framework v5.8.35
- don't install illuminate/support v6.0.1|don't install laravel/framework v5.8.35
- don't install illuminate/support v6.0.2|don't install laravel/framework v5.8.35
- don't install illuminate/support v6.0.3|don't install laravel/framework v5.8.35
- don't install illuminate/support v6.0.4|don't install laravel/framework v5.8.35
- Installation request for laravel/framework (locked at v5.8.35, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.35].
安装失败,将./composer.json恢复为其原始内容。*
即使我在我的composer.json中尝试
“需要”:{ “ jrean / laravel-user-verification”:“ dev-master” }
答案 0 :(得分:0)
问题在于版本8. *需要Laravel 6. *,如版本表中所述:
由于您使用的是Laravel 5.8,因此应该安装jrean/laravel-user-verification@^7
或update to Laravel 6.0。