Home php教程 php手册 Yii2 released

Yii2 released

Jun 06, 2016 pm 08:13 PM
yii2

Yii2 终于released了。发现他的advanced的目录和我现在完全一致。哈哈。。。 不过在测试的时候遇到了这个问题: composer?install?? Loading?composer?repositories?with?package?information?? Installing?dependencies?(including?require-dev)?? Your?req

Yii2 终于released了。发现他的advanced的目录和我现在完全一致。哈哈。。。

不过在测试的时候遇到了这个问题:

    composer?install??
    Loading?composer?repositories?with?package?information??
    Installing?dependencies?(including?require-dev)??
    Your?requirements?could?not?be?resolved?to?an?installable?set?of?packages.??
    ??
    ??Problem?1??
    ????-?Installation?request?for?yiisoft/yii2?*?->?satisfiable?by?yiisoft/yii2[2.0.0].??
    ????-?yiisoft/yii2?2.0.0?requires?bower-asset/jquery?2.1.*@stable?|?1.11.*@stable?->?no?matching?package?found.??
    ??Problem?2??
    ????-?Installation?request?for?yiisoft/yii2-bootstrap?*?->?satisfiable?by?yiisoft/yii2-bootstrap[2.0.0].??
    ????-?yiisoft/yii2-bootstrap?2.0.0?requires?bower-asset/bootstrap?3.2.*?|?3.1.*?->?no?matching?package?found.??
    ??Problem?3??
    ????-?Installation?request?for?yiisoft/yii2-gii?*?->?satisfiable?by?yiisoft/yii2-gii[2.0.0].??
    ????-?yiisoft/yii2-gii?2.0.0?requires?bower-asset/typeahead.js?0.10.*?->?no?matching?package?found.??
    ??Problem?4??
    ????-?yiisoft/yii2?2.0.0?requires?bower-asset/jquery?2.1.*@stable?|?1.11.*@stable?->?no?matching?package?found.??
    ????-?yiisoft/yii2-faker?2.0.0?requires?yiisoft/yii2?*?->?satisfiable?by?yiisoft/yii2[2.0.0].??
    ????-?Installation?request?for?yiisoft/yii2-faker?*?->?satisfiable?by?yiisoft/yii2-faker[2.0.0].??
    ??
    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??for?more?details.??
    ??
    Read??for?further?common?problems.??
Copy after login

这不是什么大问题,只是安装不上罢了。问题出来哪里呢?看了一下官方的issue,有对它的解释:https://github.com/composer/composer/issues/2873

毕竟,虽然yii2是stable了,但不是所有关联的项目都是stable了。把项目中的:"minimum-stability":"stable"改成 "minimum-stability":"dev"即可

于是:composer install

Loading composer repositories with package information

Installing dependencies (including require-dev)

  - Installing yiisoft/yii2-composer (dev-master 73ad236)

    Cloning 73ad236be1bf7cf4415559a4b592dd5b9cb4b288

-------EOF。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)