Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

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

Open
pabloneruda1 opened this issue May 22, 2019 · 7 comments

Comments

@pabloneruda1
Copy link

Problem 1
- Installation request for 2amigos/yii2-ckeditor-widget ^2.2 -> satisfiable by 2amigos/yii2-ckeditor-widget[2.2.0].
- 2amigos/yii2-ckeditor-widget 2.2.0 requires sunhater/kcfinder * -> satisfiable by sunhater/kcfinder[dev-master] but these conflict with your requirements or minimum-stability.

@davidtim
Copy link

davidtim commented May 22, 2019

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
Copy link
Author

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

@jacksontong
Copy link

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
Copy link
Member

tonydspaniard commented Aug 15, 2019

@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 #139 (comment)

@fpmarcos
Copy link

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
Copy link

asadbekkuz commented Oct 25, 2022

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

@schmunk42
Copy link
Contributor

schmunk42 commented Mar 6, 2023

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants