Git Product home page Git Product logo

Comments (18)

tonydspaniard avatar tonydspaniard commented on June 14, 2024

Strange... have you done composer self-update? https://packagist.org/packages/ckeditor/ckeditor#dev-full/stable

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024

If the problem persist, I will consider modifying the resource from 'composer' to 'bower'

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

If I change my composer "2amigos/yii2-ckeditor-widget" : "~1.0" to "2amigos/yii2-ckeditor-widget" : "*" I don't have errors but the version of widget isn't 1.0.2.

Have I to change "minimum-stability": "stable" to another config?

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

I have add ckeditor to composer?

"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "",
"yiisoft/yii2-bootstrap": "",
"yiisoft/yii2-swiftmailer": "",
"mdmsoft/yii2-admin": "",
"kartik-v/yii2-widgets": "",
"2amigos/yii2-ckeditor-widget" : "~1.0"

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024

You need to put versions on the rest of the libraries

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

Sorry..

Where I do this?

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024
"yiisoft/yii2": "",
"yiisoft/yii2-bootstrap": "", <--- ?
"yiisoft/yii2-swiftmailer": "", <--- ?
"mdmsoft/yii2-admin": "", <--- ?
"kartik-v/yii2-widgets": "", <--- ?

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

I put this and install ok:

"minimum-stability": "stable",
"require": {
    "php": ">=5.4.0",
    "yiisoft/yii2": "*",
    "yiisoft/yii2-bootstrap": "*",
    "yiisoft/yii2-swiftmailer": "*",
    "mdmsoft/yii2-admin": "*",
    "kartik-v/yii2-widgets": "*",
    "ckeditor/ckeditor": "dev-full/stable", <----
    "2amigos/yii2-ckeditor-widget" : "~1.0"

But I will put the versions on my libraries.

Thank you.

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024
"require": {
    "php": ">=5.4.0",
    "yiisoft/yii2": "*",
    "yiisoft/yii2-bootstrap": "*",
    "yiisoft/yii2-swiftmailer": "*",
    "mdmsoft/yii2-admin": "*",
    "kartik-v/yii2-widgets": "*",
    "ckeditor/ckeditor": "dev-full/stable", <---- This you don't need, is installed by yii2-ckeditor-widget
    "2amigos/yii2-ckeditor-widget" : "~1.0"

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

But with this I install the the widget and without I can't install.

I don't know why...

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

My composer now:

    "minimum-stability": "stable",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "2.0.3",
        "yiisoft/yii2-bootstrap": "~2.0.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0",
        "mdmsoft/yii2-admin": "~1.0",
        "kartik-v/yii2-widgets": "*",
        "2amigos/yii2-ckeditor-widget" : "~1.0"
    },

If I update my composer I have this error:

composer update

Loading composer repositories with package information
Updating dependencies (including require-dev)
Reading bower.json of bower-asset/jquery (2.1.3)
Reading bower.json of bower-asset/jquery.inputmask (3.1.61)
Reading bower.json of bower-asset/punycode (v1.3.2)
Reading bower.json of bower-asset/yii2-pjax (v2.0.4)
Reading bower.json of bower-asset/jquery-ui (1.11.4)
Reading bower.json of bower-asset/bootstrap (v3.3.4)
Reading bower.json of bower-asset/typeahead.js (v0.10.5)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- 2amigos/yii2-ckeditor-widget 1.0.2 requires ckeditor/ckeditor dev-full/stable -> satisfiable by ckeditor/ckeditor[dev-full/stable].
- 2amigos/yii2-ckeditor-widget 1.0.0 requires ckeditor/ckeditor dev-full/stable -> satisfiable by ckeditor/ckeditor[dev-full/stable].
- 2amigos/yii2-ckeditor-widget 1.0.1 requires ckeditor/ckeditor dev-full/stable -> satisfiable by ckeditor/ckeditor[dev-full/stable].
- 2amigos/yii2-ckeditor-widget 1.0.2 requires ckeditor/ckeditor dev-full/stable -> satisfiable by ckeditor/ckeditor[dev-full/stable].
- Removal request for ckeditor/ckeditor == dev-full/stable
- Installation request for 2amigos/yii2-ckeditor-widget ~1.0 -> satisfiable by 2amigos/yii2-ckeditor-widget[1.0.0, 1.0.1, 1.0.2].

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

If I change to:

"minimum-stability": "stable",
"require": {
    "php": ">=5.4.0",
    "yiisoft/yii2": "*",
    "yiisoft/yii2-bootstrap": "*",
    "yiisoft/yii2-swiftmailer": "*",
    "mdmsoft/yii2-admin": "*",
    "kartik-v/yii2-widgets": "*",
    "ckeditor/ckeditor": "dev-full/stable",
    "2amigos/yii2-ckeditor-widget" : "~1.0"

Install ok.

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

I put version on my libraries and I if I don't have this "ckeditor/ckeditor": "dev-full/stable" I always have the same error.

For some reason the widget don't install ckeditor, I think.

from yii2-ckeditor-widget.

ipppinto avatar ipppinto commented on June 14, 2024

Hi,

Any solution to this problem?

Thank you.

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024

@ipppinto I believe there is an issue with the version used on packagist. I am thinking to modify the requirement and use bower plugin instead. But that will have to be on my free time that is very small right now.

from yii2-ckeditor-widget.

trejder avatar trejder commented on June 14, 2024

I have (had) exactly the same problem. Executing composer self-update changes nothing (Composer version up-to-date). Problem is caused by installing package with:

composer require 2amigos/yii2-ckeditor-widget:~1.0

Which ends with:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - 2amigos/yii2-ckeditor-widget 1.0.2 requires ckeditor/ckeditor dev-full/stable -> no matching package found.
    - 2amigos/yii2-ckeditor-widget 1.0.1 requires ckeditor/ckeditor dev-full/stable -> no matching package found.
    - 2amigos/yii2-ckeditor-widget 1.0.0 requires ckeditor/ckeditor dev-full/stable -> no matching package found.
    - Installation request for 2amigos/yii2-ckeditor-widget ~1.0 -> satisfiable by 2amigos/yii2-ckeditor-widget[1.0.0, 1.0.1, 1.0.2].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Solution is to Install package with:

composer require 2amigos/yii2-ckeditor-widget:*

or add "2amigos/yii2-ckeditor-widget" : "*" to require section and execute composer update.

Using unbound versions (*) in Composer is not recommended, but this is the only workaround, that I found for this problem.

from yii2-ckeditor-widget.

tonydspaniard avatar tonydspaniard commented on June 14, 2024

@trejder will fix it asap

from yii2-ckeditor-widget.

creocoder avatar creocoder commented on June 14, 2024

Fixed by new release.

from yii2-ckeditor-widget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.