2amigos / yii2-ckeditor-widget

CKEditor WYSIWYG widget for Yii2.
https://2amigos.us/open-source/ckeditor-widget
Other
172 stars 112 forks source link

Installation failed, requirements could not be resolved to an installable set of packages #140

Open pabloneruda1 opened 5 years ago

pabloneruda1 commented 5 years ago

Problem 1

davidtim commented 5 years ago

Before install, goto composer.json and change minimum-stability from stable to dev. You should be able to install after install completed you should change back to stable.

pabloneruda1 commented 5 years ago

This is the final solution? Really? Development is over?

jacksontong commented 5 years ago

I got this issue when install this package by this command composer require 2amigos/yii2-ckeditor-widget I solved this by adding "2amigos/yii2-ckeditor-widget" : "~2.1" to my composer.json file instead

tonydspaniard commented 5 years ago

@pabloneruda1 sometimes, the dependencies of the package conflict with other vendor libraries. The way I normally fix it is by having the following on our composer.json package:

 "minimum-stability": "dev",
 "prefer-stable": true,

We use it on our development stage and we have no issues at all in our projects.

Edit: If you can make a PR for https://github.com/sunhater/kcfinder/tree/2.x release and it works with latest version of CKEditor full. I will be more than happy to review and merge. I am very sorry I have no time to dedicate to the project as I would like to.

Same issue as https://github.com/2amigos/yii2-ckeditor-widget/issues/139#issuecomment-502118508

fpmarcos commented 4 years ago

Before install, goto composer.json and change minimum-stability from stable to dev. You should be able to install after install completed you should change back to stable.

solved to me! tks!

asadbekkuz commented 1 year ago

I have some problem with v2.1.0 . Error message don't report onchange

schmunk42 commented 1 year ago

@tonydspaniard You should move kcfinder to suggest, because there is no release and it is optional.

Switching stability is no solution since composer.json does not match with composer.lock afterwards.

(edit) We had to create a fork because of this: https://github.com/dmstr-forks/2amigos-yii2-ckeditor-widget