[英]unisharp/laravel-ckeditor on Laravel 8+ cannot install package
I'm trying to install ckeditor on my Laravel 8+ project, but can't.我正在尝试在我的 Laravel 8+ 项目上安装 ckeditor,但不能。 I have the errors:
我有错误:
Problem 1:问题1:
Root composer.json requires unisharp/laravel-ckeditor 4.7.2 -> satisfiable by unisharp/laravel-ckeditor[4.7.2].根 composer.json 需要 unisharp/laravel-ckeditor 4.7.2 -> 可由 unisharp/laravel-ckeditor[4.7.2] 满足。
unisharp/laravel-ckeditor 4.7.2 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but it conflicts with another require. unisharp/laravel-ckeditor 4.7.2 需要照明/支持 ~5.0 -> 找到照明/支持 [v5.0.0, ..., 5.8.x-dev] 但它与另一个要求冲突。
I've tried install version 4.7.2 and 5.0, but that still not working.我已经尝试安装 4.7.2 和 5.0 版本,但仍然无法正常工作。
Is someone know how to solve this problem?有人知道如何解决这个问题吗?
I had the same problem.我有同样的问题。 The command
composer require ckeditor/ckeditor
worked for me.命令
composer require ckeditor/ckeditor
为我工作。
unisharp/laravel-ckeditor
has seen it's latest release in Nov 2017, more than three years ago. unisharp/laravel-ckeditor
已经在三年多前的 2017 年 11 月看到了它的最新版本。 As the error message tells you: this package is not compatible with current versions of Laravel.正如错误消息告诉您的:此包与 Laravel 的当前版本不兼容。 Either downgrade Laravel to v5 (not recommended), search for another package providing such functionality, or fork the package to provide the neccessary updates.
将 Laravel 降级到 v5(不推荐),搜索提供此类功能的另一个包,或分叉该包以提供必要的更新。
To install ckeditor on Laravel 8+ project.在 Laravel 8+ 项目上安装 ckeditor。 If you already have npm installed then use this line:
如果您已经安装了 npm,请使用以下行:
$ npm install ckeditor4
Then execute the following command:然后执行以下命令:
$ npm update
i ran in to the same problem using`我遇到了同样的问题使用`
composer require unisharp/laravel-ckeditor
then i used $ composer require ckeditor/ckeditor
and it solved it然后我使用了
$ composer require ckeditor/ckeditor
并解决了它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.