The following problems always occur when installing the yii2 framework in windows:

Source: Internet
Author: User
Problem1 Problem 1
-Yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1. @ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1. @ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1. @ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1. @ Stable | 1.11.@ Stabl
E-> 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].

However, the following code is executed:
Composer global require "fxp/composer-asset-plugin: 1.0.0-beta4"
This line of command is fine again. Is this command updated ??

Reply content:

Problem 1
-Yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.@ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.@ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.@ Stable | 1.11.@ Stabl
E-> no matching package found.
-Yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.@ Stable | 1.11.@ Stabl
E-> 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].

However, the following code is executed:
Composer global require "fxp/composer-asset-plugin: 1.0.0-beta4"
This line of command is fine again. Is this command updated ??

You can try this:

composer global require "fxp/composer-asset-plugin:1.0.3"

Thiscomposer-asset-pluginComposer is used to manage bower packages and npm packages.

Just came out with a series of tutorials:

Http://segmentfault.com/blog/jellybool

For specific installation instructions, refer to the following:

Http://segmentfault.com/a/1190000003047525

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.