Upgrade from 2.03 to 2.04 problem

To upgrade I launch this command


php composer.phar update

with this response:


  Problem 1

	- yiisoft/yii2 2.0.4 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.

	- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].


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.

This is my composer.json:


{

	"name": "yiisoft/yii2-app-basic",

	"description": "Yii 2 Basic Application Template",

	"keywords": ["yii2", "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": "stable",

	"require": {

    	"php": ">=5.4.0",

    	"yiisoft/yii2": "*",

    	"yiisoft/yii2-bootstrap": "*",

    	"yiisoft/yii2-swiftmailer": "*",

    	"amnah/yii2-user": "dev-master",

    	"yiisoft/yii2-jui": "*"

	},

	"require-dev": {

    	"yiisoft/yii2-codeception": "*",

    	"yiisoft/yii2-debug": "*",

    	"yiisoft/yii2-gii": "*",

    	"yiisoft/yii2-faker": "*",

    	"amnah/yii2-user": "dev-master",

    	"yiisoft/yii2-jui": "*"

	},

	"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"

    	}

	}

}

I just added "yiisoft/yii2-jui": "*", but whitout this the result was the same. Any help, please?

Solved installing asset plugin


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

See: http://www.yiiframework.com/forum/index.php/topic/62276-yii2-composer-is-broken/