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

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

  Problem 1
    - yiisoft/yii2 2.0.x-dev requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 dev-master requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 2.0.5 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 2.0.4 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 dev-master requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 2.0.x-dev requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - Installation request for yiisoft/yii2 >=2.0.4 -> satisfiable by yiisoft/yii2[2.0.4, 2.0.5, 2.0.6, dev-master, 2.0.x-dev].

composer.json

{
  "name": "yiisoft/yii2-app-basic",
  "description": "Yii 2 Basic Application Template",
  "keywords": [
    "yii",
    "framework",
    "basic",
    "application 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",
  "require": {
    "php": ">=5.4.0",
    "yiisoft/yii2": ">=2.0.4",
    "yiisoft/yii2-swiftmailer": "*",
    "yiisoft/yii2-bootstrap": "*",
    "yiisoft/yii2-authclient": "*",
    "yiisoft/yii2-debug": "*",
    "yiisoft/yii2-gii": "*",
    "yiisoft/yii2-sphinx": "*",
    "yiisoft/yii2-jui": "*",
    "mirocow/yii2-redactor": "dev-master",
    "mirocow/yii2-user": "dev-master",
    "mirocow/yii2-yandex-maps": "dev-master",
    "mirocow/yii2-file-input-widget": "dev-master",
    "mirocow/yii2-minify-view": "dev-master",
    "mirocow/yii2-scroll-pager": "dev-master",
    "willdurand/geocoder": "@stable",
    "2amigos/yii2-type-ahead-widget": "dev-master",
    "2amigos/yii2-transliterator-helper": "*",
    "2amigos/yii2-taggable-behavior": "*",
    "filsh/yii2-autocomplete": "*",
    "webcreate/jquery-ias": "dev-master",
    "kartik-v/yii2-widgets": "dev-master",
    "kartik-v/yii2-mpdf": "dev-master",
    "kartik-v/yii2-date-range": "dev-master",
    "yiisoft/yii2-redis": "dev-master",
    "ladamalina/yii2-smsc": "*",
    "wartron/yii2-mobiledetect": "*"
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/mirocow/yii2-redactor.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mirocow/mirocow-widgets.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mirocow/yii2-user.git"
    },
    {
      "type": "git",
      "url": "https://github.com/Mirocow/yii2-yandex-maps.git"
    },
    {
      "type": "git",
      "url": "https://github.com/2amigos/yii2-taggable-behavior.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mirocow/yii2-file-input-widget.git"
    },
    {
      "type": "git",
      "url": "https://github.com/ZhandosKz/notification.git"
    },
    {
      "type": "git",
      "url": "https://github.com/thiagotalma/yii2-jstree-widget.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mirocow/yii2-scroll-pager.git"
    },
    {
      "type": "git",
      "url": "https://github.com/Mirocow/yii2-minify-view.git"
    },
    {
      "type": "git",
      "url": "https://github.com/wartron/yii2-mobiledetect.git"
    },
    {
      "type": "git",
      "url": "https://github.com/yiisoft/yii2-redis.git"
    }
  ],
  "require-dev": {
    "yiisoft/yii2-codeception": "*",
    "yiisoft/yii2-debug": "*",
    "yiisoft/yii2-gii": "*",
    "yiisoft/yii2-faker": "*"
  },
  "config": {
    "process-timeout": 1800
  },
  "scripts": {
    "post-create-project-cmd": [
      "yii\\composer\\Installer::postCreateProject"
    ]
  },
  "extra": {
    "yii\\composer\\Installer::postCreateProject": {
      "setPermission": [
        {
          "runtime": "0777",
          "web/assets": "0777",
          "yii": "0755"
        }
      ],
      "generateCookieValidationKey": [
        "config/web.php"
      ]
    },
    "asset-installer-paths": {
      "npm-asset-library": "vendor/npm",
      "bower-asset-library": "vendor/bower"
    }
  }
}

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 23 (9 by maintainers)

Most upvoted comments

What i did composer global require "fxp/composer-asset-plugin:@dev"; Then Delete vendor folder and finally composer install my issue has been resolved

composer global require "fxp/composer-asset-plugin:@dev"

Close this please

You have a malformed config. I forgot about some problem with the plugin and gave you wrong command. Please run:

php composer.phar global require "fxp/composer-asset-plugin:@dev"

Read the installation instructions in https://github.com/yiisoft/yii2-app-basic/ and install basic app - you will be definitely succeed with it. I’ll say it again this is not a problem of Yii2 core, so welcome to Russian Yii2 support chat https://gitter.im/yiisoft/yii2/rus and feel free to ask there.