2amigos / yii2-gallery-widget

BlueImp Gallery Widget for Yii2
http://yiiwheels.com
Other
60 stars 37 forks source link

issue installing the gallery widget #23

Closed chrisjnr closed 6 years ago

chrisjnr commented 6 years ago

Good day, I keep getting this error whenever i try to install the widget. I have changed my minimum stability setting in my composer.json to @dev, but still I keep getting the same error Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

tonydspaniard commented 6 years ago

Please add:

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

to your composer file.

chrisjnr commented 6 years ago

thanks for your swift reply, i already did that but it still gives me the same error this is what my composer.json looks like

{
    "name": "yiisoft/yii2-app-advanced",
    "description": "Yii 2 Advanced Project Template",
    "keywords": ["yii2", "framework", "advanced", "project template"],
    "homepage": "http://www.yiiframework.com/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii2/issues?state=open",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii2"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "~2.0.6",
        "yiisoft/yii2-bootstrap": "~2.0.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0",
        "kartik-v/yii2-widget-datepicker": "@dev",
        "yidas/yii2-bower-asset": "^2.0",
        "kartik-v/yii2-grid": "@dev",
        "kartik-v/yii2-editable": "@dev",
        "perminder-klair/yii2-dropzone": "dev-master",
        "mpdf/mpdf": "@dev",
        "slavkovrn/yii2-imagegalary": "*",
        "2amigos/yii2-google-maps-library": "*",
        "kartik-v/yii2-widget-activeform": "@dev",
        "dektrium/yii2-user": "^0.9.12",
        "thyseus/yii2-message": "^0.3.0",
        "wolfguard/yii2-gallery": "*",
        "apolle/yii2-gallery-manager": "dev-master",
        "kartik-v/yii2-field-range": "*",
        "noam148/yii2-image-manager": "*",
        "2amigos/yii2-gallery-widget": "~1.0"
    },
    "require-dev": {
        "yiisoft/yii2-debug": "~2.0.0",
        "yiisoft/yii2-gii": "~2.0.0",
        "yiisoft/yii2-faker": "~2.0.0",

        "codeception/base": "^2.2.3",
        "codeception/verify": "~0.3.1"
    },

    "config": {
        "process-timeout": 1800,
        "fxp-asset":{
            "installer-paths": {
                "npm-asset-library": "vendor/npm",
                "bower-asset-library": "vendor/bower"
            }
        }
    }
}

i still get the same error

tonydspaniard commented 6 years ago

what about if you do: 2amigos/yii2-gallery-widget": "1.1.*"

chrisjnr commented 6 years ago

seems to work now. Thanks much appreciated