在 Laravel 5.4 上安装 cartalyst/tags 时出错
Posted
技术标签:
【中文标题】在 Laravel 5.4 上安装 cartalyst/tags 时出错【英文标题】:Error in Install cartalyst/tags on Laravel 5.4 【发布时间】:2017-06-12 18:52:50 【问题描述】:我想在 laravel 5.4 上安装 cartalyst/tags,但在 composer install
/ composer update
之后出现了一些错误。
这里的错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laravel/framework v5.4.5
- Conclusion: don't install laravel/framework v5.4.4
- Conclusion: remove laravel/framework v5.4.3
- Conclusion: don't install laravel/framework v5.4.3
- Installation request for cartalyst/tags ^3.0 -> satisfiable by cartalyst/tags[v3.0.0].
- Conclusion: don't install laravel/framework v5.4.2
- Conclusion: don't install laravel/framework v5.4.1
- cartalyst/tags v3.0.0 requires illuminate/database 5.3.* -> satisfiable by illuminate/database[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.0
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.16
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.23
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.4
- Installation request for laravel/framework 5.4.* -> satisfiable by laravel/framework[v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5].
【问题讨论】:
【参考方案1】:[已修复] 包 cartalyst/tags
可以在 composer.json
中使用 dev-master
代替 3.0.*
。
【讨论】:
【参考方案2】:可能是 laravel 5.4 的问题,使用的软件包可能不支持。你可以试试Laravel 5.3
:
composer create-project laravel/laravel test "5.3.*"
希望这对你有用!
【讨论】:
以上是关于在 Laravel 5.4 上安装 cartalyst/tags 时出错的主要内容,如果未能解决你的问题,请参考以下文章
sh 在Ubuntu 16.04上安装Laravel 5.4,MySQL 5.7,Apache2.4和PHP7.1
sh 在Ubuntu 16.04上安装Laravel 5.4,MySQL 5.7,Apache2.4和PHP7.1
我无法在 Laravel 5.4 上测试简单的 vue 示例组件