Calling unknown method: yii\web\UrlManager::addRules() #5060

Closed
3dmaxpayne opened this Issue Sep 17, 2014 · 111 comments

Comments

Projects
None yet
@3dmaxpayne

Hello! Thank you for your work!
I have updated today by composer and found this error:

http://awesomescreenshot.com/0ff3hzs143

Do you have removed this method anywhere except debug mode?

@Famers

This comment has been minimized.

Show comment
Hide comment
@Famers

Famers Sep 17, 2014

Contributor

I also encountered this problem.

Contributor

Famers commented Sep 17, 2014

I also encountered this problem.

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

I also encountered this problem.
强哥啊,我也遇到这个问题了,一更新,就出现这个情况。。。。啥时候能解决啊。。

I also encountered this problem.
强哥啊,我也遇到这个问题了,一更新,就出现这个情况。。。。啥时候能解决啊。。

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

我今天上午刚换的YII2.0 刚装上去就是这个提示
Unknown Method – yii\base\UnknownMethodException
Calling unknown method: yii\web\UrlManager::addRules()

zqtsx commented Sep 17, 2014

我今天上午刚换的YII2.0 刚装上去就是这个提示
Unknown Method – yii\base\UnknownMethodException
Calling unknown method: yii\web\UrlManager::addRules()

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

上面是完成 错误提示

zqtsx commented Sep 17, 2014

上面是完成 错误提示

@pahanini

This comment has been minimized.

Show comment
Hide comment
@pahanini

pahanini Sep 17, 2014

Also affects to me

Also affects to me

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

you too ?

zqtsx commented Sep 17, 2014

you too ?

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

composer install --dev

Contributor

githubjeka commented Sep 17, 2014

composer install --dev

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

composer install --dev 能行吗,我们这是更新啊。。。

composer install --dev 能行吗,我们这是更新啊。。。

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

чё ? 。。。。。。。。。。。。

Contributor

githubjeka commented Sep 17, 2014

чё ? 。。。。。。。。。。。。

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

composer install --dev 这玩意不行啊

zqtsx commented Sep 17, 2014

composer install --dev 这玩意不行啊

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

“composer install --dev ” is don't ok.

zqtsx commented Sep 17, 2014

“composer install --dev ” is don't ok.

@aquy

This comment has been minimized.

Show comment
Hide comment
@aquy

aquy Sep 17, 2014

Contributor

I have the same problem

Contributor

aquy commented Sep 17, 2014

I have the same problem

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

The whole world has such a problem. So there is no report;)

Contributor

githubjeka commented Sep 17, 2014

The whole world has such a problem. So there is no report;)

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

you can speaking china language ? who can help me kill this bug?

zqtsx commented Sep 17, 2014

you can speaking china language ? who can help me kill this bug?

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

都是中国人,为什么都不说中文,说英文很洋气么?

都是中国人,为什么都不说中文,说英文很洋气么?

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

I still adapts to the c234359
See extra ..

Contributor

githubjeka commented Sep 17, 2014

I still adapts to the c234359
See extra ..

@bryglen

This comment has been minimized.

Show comment
Hide comment
@bryglen

bryglen Sep 17, 2014

this thing kills me as well.. it was pulling some previous version

bryglen commented Sep 17, 2014

this thing kills me as well.. it was pulling some previous version

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

Yes it is

Add to composer.json

 "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }

And run
http://i.imgur.com/h3u1sqX.jpg

Contributor

githubjeka commented Sep 17, 2014

Yes it is

Add to composer.json

 "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }

And run
http://i.imgur.com/h3u1sqX.jpg

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

楼上的方法也不行啊……

zqtsx commented Sep 17, 2014

楼上的方法也不行啊……

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

Google translator don't understand you ^_^

Contributor

githubjeka commented Sep 17, 2014

Google translator don't understand you ^_^

@mousemckill

This comment has been minimized.

Show comment
Hide comment
@mousemckill

mousemckill Sep 17, 2014

Почему требует логин и пароль?

Почему требует логин и пароль?

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

按照你的办法也添加了那段代码,还是不行啊

zqtsx commented Sep 17, 2014

按照你的办法也添加了那段代码,还是不行啊

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

@mousemckill потому, что предоставляются права доступа composer для работы с api GITHUB

Посмотреть для кого, что доступно можно по адресу https://github.com/settings/applications

Contributor

githubjeka commented Sep 17, 2014

@mousemckill потому, что предоставляются права доступа composer для работы с api GITHUB

Посмотреть для кого, что доступно можно по адресу https://github.com/settings/applications

@bryglen

This comment has been minimized.

Show comment
Hide comment
@bryglen

bryglen Sep 17, 2014

guys. english please since this is world issue :)

bryglen commented Sep 17, 2014

guys. english please since this is world issue :)

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

@bryglen if something is not by English then it is offtopic. :)

Contributor

githubjeka commented Sep 17, 2014

@bryglen if something is not by English then it is offtopic. :)

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

stop!!!!!!!!!!!!!!!!!!! please stop talk this problom of english.....ok?

stop!!!!!!!!!!!!!!!!!!! please stop talk this problom of english.....ok?

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

NOT OK! My solution help someone?

Contributor

githubjeka commented Sep 17, 2014

NOT OK! My solution help someone?

@bryglen

This comment has been minimized.

Show comment
Hide comment
@bryglen

bryglen Sep 17, 2014

I still get sme error @githubjeka

bryglen commented Sep 17, 2014

I still get sme error @githubjeka

@zqtsx

This comment has been minimized.

Show comment
Hide comment
@zqtsx

zqtsx Sep 17, 2014

Upstairs according to several methods, the problem still exists!
按照上面的几种方法,问题依然存在!
Наверху в соответствии с несколькими методами, проблема все еще существует

zqtsx commented Sep 17, 2014

Upstairs according to several methods, the problem still exists!
按照上面的几种方法,问题依然存在!
Наверху в соответствии с несколькими методами, проблема все еще существует

@knight9999

This comment has been minimized.

Show comment
Hide comment
@knight9999

knight9999 Sep 17, 2014

I am trying following in order to obtain dev-master of yii2.
$ composer global require "fxp/composer-asset-plugin:1.0.*@dev"
$ composer update

I am trying following in order to obtain dev-master of yii2.
$ composer global require "fxp/composer-asset-plugin:1.0.*@dev"
$ composer update

@Famers

This comment has been minimized.

Show comment
Hide comment
Contributor

Famers commented Sep 17, 2014

@bryglen

This comment has been minimized.

Show comment
Hide comment
@bryglen

bryglen Sep 17, 2014

works for me now thanks

bryglen commented Sep 17, 2014

works for me now thanks

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

可以了吗

可以了吗

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

fxp/composer-asset-plugin:1.0.*@dev
what's mean???

fxp/composer-asset-plugin:1.0.*@dev
what's mean???

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

js css now pumped through the bower. This fxp/composer-asset-plugin:1.0.*@dev need to work composer and bower together

Contributor

githubjeka commented Sep 17, 2014

js css now pumped through the bower. This fxp/composer-asset-plugin:1.0.*@dev need to work composer and bower together

@huaiguoguo

This comment has been minimized.

Show comment
Hide comment
@huaiguoguo

huaiguoguo Sep 17, 2014

@knight9999 what's mean this dir???
还是中文用着习惯,这个目录该放到哪个目录下面

@knight9999 what's mean this dir???
还是中文用着习惯,这个目录该放到哪个目录下面

@bryglen

This comment has been minimized.

Show comment
Hide comment
@bryglen

bryglen Sep 17, 2014

@githubjeka can the fpx/composer-asset-plugin be put on composer.json? so it will be automatic instead of doing global require?

bryglen commented Sep 17, 2014

@githubjeka can the fpx/composer-asset-plugin be put on composer.json? so it will be automatic instead of doing global require?

@knight9999

This comment has been minimized.

Show comment
Hide comment
@knight9999

knight9999 Sep 17, 2014

Thanks @githubjeka .
The above commands are executed under the project root dir.

Thanks @githubjeka .
The above commands are executed under the project root dir.

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

without #5060 (comment) people has this problem

Contributor

githubjeka commented Sep 17, 2014

without #5060 (comment) people has this problem

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

They not used to run php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"

Contributor

githubjeka commented Sep 17, 2014

They not used to run php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"

@kricisklr

This comment has been minimized.

Show comment
Hide comment
@kricisklr

kricisklr Sep 17, 2014

FIgured I would add in here:

as with githubjeka I've also just used
composer update

    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "*",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*"
    },
    "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"
            ]
        },

FIgured I would add in here:

as with githubjeka I've also just used
composer update

    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "*",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*"
    },
    "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"
            ]
        },
@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

Now it works by #5060 (comment)

Contributor

githubjeka commented Sep 17, 2014

Now it works by #5060 (comment)

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

But why did composer pulls beta version for --dev or other not understand, without php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev".

Contributor

githubjeka commented Sep 17, 2014

But why did composer pulls beta version for --dev or other not understand, without php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev".

@qiangxue

This comment has been minimized.

Show comment
Hide comment
@qiangxue

qiangxue Sep 17, 2014

Member

What I'm curious is how this problem could be caused by the new-asset system change. And if so, how should we fix it. By looking at the pasted composer.json, it seems to the command should work fine.

Member

qiangxue commented Sep 17, 2014

What I'm curious is how this problem could be caused by the new-asset system change. And if so, how should we fix it. By looking at the pasted composer.json, it seems to the command should work fine.

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 17, 2014

Contributor

If we wait for it PR composer/composer#3082 , then I think this error will not occur at all.

Contributor

githubjeka commented Sep 17, 2014

If we wait for it PR composer/composer#3082 , then I think this error will not occur at all.

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Sep 17, 2014

Member

What I'm curious is how this problem could be caused by the new-asset system change.

I think this is again the composer dependency resolver doing unexpected things:

  • you require yiisoft/yii2 in your composer.json but do not have the plugin installed.
  • then the dependency resolver does not find packages with vendor bower-asset so it looks for other versions of yii2 that do not have conflict resulting in the beta version to be installed.

The issue will not appear after the composer asset plugin is installed:

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

If we wait for it PR composer/composer#3082 , then I think this error will not occur at all.

This should fix the above issue as yii2 could then require the plugin which avoids the problem described above.

Member

cebe commented Sep 17, 2014

What I'm curious is how this problem could be caused by the new-asset system change.

I think this is again the composer dependency resolver doing unexpected things:

  • you require yiisoft/yii2 in your composer.json but do not have the plugin installed.
  • then the dependency resolver does not find packages with vendor bower-asset so it looks for other versions of yii2 that do not have conflict resulting in the beta version to be installed.

The issue will not appear after the composer asset plugin is installed:

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

If we wait for it PR composer/composer#3082 , then I think this error will not occur at all.

This should fix the above issue as yii2 could then require the plugin which avoids the problem described above.

@qiangxue

This comment has been minimized.

Show comment
Hide comment
@qiangxue

qiangxue Sep 17, 2014

Member

Thanks for the explanation. I think we can close this issue. The solution is to follow the upgrade instruction to install the plugin first, and then do update. If you create a new project from scratch, you shouldn't encounter this issue.

Member

qiangxue commented Sep 17, 2014

Thanks for the explanation. I think we can close this issue. The solution is to follow the upgrade instruction to install the plugin first, and then do update. If you create a new project from scratch, you shouldn't encounter this issue.

@qiangxue qiangxue closed this Sep 17, 2014

@bayusuwarninghadi

This comment has been minimized.

Show comment
Hide comment
@bayusuwarninghadi

bayusuwarninghadi Sep 18, 2014

Now, how to register js/css file?

use yii\web\JqueryAsset;
$this->registerJsFile(Yii::$app->getHomeUrl().'js/docs.min.js',[JqueryAsset::className()]);

-->

<script src="/js/docs.min.js" 0="yii\web\JqueryAsset"></script>
<script src="/assets/2944290e/jquery.js"></script>

script generated before jquery

Now, how to register js/css file?

use yii\web\JqueryAsset;
$this->registerJsFile(Yii::$app->getHomeUrl().'js/docs.min.js',[JqueryAsset::className()]);

-->

<script src="/js/docs.min.js" 0="yii\web\JqueryAsset"></script>
<script src="/assets/2944290e/jquery.js"></script>

script generated before jquery

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 18, 2014

Contributor

Use

use yii\web\JqueryAsset;
$this->registerJsFile(
    Yii::$app->getHomeUrl().'js/docs.min.js',
    [
        'depends'=>JqueryAsset::className()
    ]
);

The current issue nothing to do with your code

Contributor

githubjeka commented Sep 18, 2014

Use

use yii\web\JqueryAsset;
$this->registerJsFile(
    Yii::$app->getHomeUrl().'js/docs.min.js',
    [
        'depends'=>JqueryAsset::className()
    ]
);

The current issue nothing to do with your code

@3dmaxpayne

This comment has been minimized.

Show comment
Hide comment
@3dmaxpayne

3dmaxpayne Sep 18, 2014

But guys, I still don't understand. You use this code in yii\debug\Module

$app->getUrlManager()->addRules([
$this->id => $this->id,
$this->id . '/controller:w+/action:w+' => $this->id . '//',
], false);

But I have not find any declaration of this method: addRules. So, where is declaration of it?

But guys, I still don't understand. You use this code in yii\debug\Module

$app->getUrlManager()->addRules([
$this->id => $this->id,
$this->id . '/controller:w+/action:w+' => $this->id . '//',
], false);

But I have not find any declaration of this method: addRules. So, where is declaration of it?

@githubjeka

This comment has been minimized.

Show comment
Hide comment
Contributor

githubjeka commented Sep 18, 2014

@hoksilato

This comment has been minimized.

Show comment
Hide comment
@hoksilato

hoksilato Sep 19, 2014

Contributor

@githubjeka I followed your instruction and get error like below.

yii2-beta

I also tried to create new fresh project and it always got stuck at "Reading bower.json of bower-assets/requirejs" and then killed the process.

Can you help me? Thanks.

P/S: I'm using Cygwin + Windows 8.1 + Vagrant CentOS 6.5

Contributor

hoksilato commented Sep 19, 2014

@githubjeka I followed your instruction and get error like below.

yii2-beta

I also tried to create new fresh project and it always got stuck at "Reading bower.json of bower-assets/requirejs" and then killed the process.

Can you help me? Thanks.

P/S: I'm using Cygwin + Windows 8.1 + Vagrant CentOS 6.5

@githubjeka

This comment has been minimized.

Show comment
Hide comment
Contributor

githubjeka commented Sep 19, 2014

@hoksilato

This comment has been minimized.

Show comment
Hide comment
@hoksilato

hoksilato Sep 19, 2014

Contributor

Thanks @githubjeka

Contributor

hoksilato commented Sep 19, 2014

Thanks @githubjeka

@Shybko

This comment has been minimized.

Show comment
Hide comment
@Shybko

Shybko Sep 19, 2014

Contributor

I'm trying code from this page http://www.yiiframework.com/doc-2.0/guide-start-installation.html for installation Yii2
Using this code
composer global require "fxp/composer-asset-plugin:1.0.*@dev"
then try this
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
and this
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
And finally get this result
composer error
How it fixed? :(

Contributor

Shybko commented Sep 19, 2014

I'm trying code from this page http://www.yiiframework.com/doc-2.0/guide-start-installation.html for installation Yii2
Using this code
composer global require "fxp/composer-asset-plugin:1.0.*@dev"
then try this
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
and this
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
And finally get this result
composer error
How it fixed? :(

@githubjeka

This comment has been minimized.

Show comment
Hide comment
Contributor

githubjeka commented Sep 19, 2014

@stratigos

This comment has been minimized.

Show comment
Hide comment
@stratigos

stratigos Sep 20, 2014

Went on vacation for 2 weeks and came back to this. Spent the morning resolving the original issue, and then the issue(s) Shybko had. Was able to resolve by adding bower-asset/jquery etc to my composer.json.

Went on vacation for 2 weeks and came back to this. Spent the morning resolving the original issue, and then the issue(s) Shybko had. Was able to resolve by adding bower-asset/jquery etc to my composer.json.

@geekwho11

This comment has been minimized.

Show comment
Hide comment
@geekwho11

geekwho11 Sep 22, 2014

You must updtae composer to lastes version.
composer self-update
and then do
#5060 (comment)
work fine.

You must updtae composer to lastes version.
composer self-update
and then do
#5060 (comment)
work fine.

@Shybko

This comment has been minimized.

Show comment
Hide comment
@Shybko

Shybko Sep 23, 2014

Contributor

This #5107 (comment) solution helped me

Contributor

Shybko commented Sep 23, 2014

This #5107 (comment) solution helped me

@niugengyun

This comment has been minimized.

Show comment
Hide comment

http://www.cnsecer.com/6054.html 不要谢我! i am leifeng!

@gephaest

This comment has been minimized.

Show comment
Hide comment
@gephaest

gephaest Sep 29, 2014

Contributor

I have same problem, my console:

composer self-update
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic

Add to composer.json:

"extra": {
    "asset-installer-paths": {
        "npm-asset-library": "vendor/npm",
        "bower-asset-library": "vendor/bower"
    }
}

Console:

composer global require "fxp/composer-asset-plugin:1.0.*@dev"
composer update --dev --dry-run

And I have error:
Calling unknown method: yii\web\UrlManager::addRules().
In UrlManager.php addRules doesn't exist.

My composer.json: https://gist.github.com/gephaest/7e973935161edd5869b7

Contributor

gephaest commented Sep 29, 2014

I have same problem, my console:

composer self-update
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic

Add to composer.json:

"extra": {
    "asset-installer-paths": {
        "npm-asset-library": "vendor/npm",
        "bower-asset-library": "vendor/bower"
    }
}

Console:

composer global require "fxp/composer-asset-plugin:1.0.*@dev"
composer update --dev --dry-run

And I have error:
Calling unknown method: yii\web\UrlManager::addRules().
In UrlManager.php addRules doesn't exist.

My composer.json: https://gist.github.com/gephaest/7e973935161edd5869b7

@samdark

This comment has been minimized.

Show comment
Hide comment
@samdark

samdark Sep 29, 2014

Member

First fxp/composer-asset-plugin then update.

Member

samdark commented Sep 29, 2014

First fxp/composer-asset-plugin then update.

@gephaest

This comment has been minimized.

Show comment
Hide comment
@gephaest

gephaest Sep 29, 2014

Contributor

@samdark I did so, but yii2 don't running

Contributor

gephaest commented Sep 29, 2014

@samdark I did so, but yii2 don't running

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 29, 2014

Contributor

Read guide! what is it 1.0.*@dev" ?

Contributor

githubjeka commented Sep 29, 2014

Read guide! what is it 1.0.*@dev" ?

@hoksilato

This comment has been minimized.

Show comment
Hide comment
@hoksilato

hoksilato Sep 29, 2014

Contributor

@gephaest you should use composer global require "fxp/composer-asset-plugin:1.0.0-beta2" instead of composer global require "fxp/composer-asset-plugin:1.0.*@dev".

Delete your vendor directory and composer.lock.

Then composer install --prefer-dist.

Contributor

hoksilato commented Sep 29, 2014

@gephaest you should use composer global require "fxp/composer-asset-plugin:1.0.0-beta2" instead of composer global require "fxp/composer-asset-plugin:1.0.*@dev".

Delete your vendor directory and composer.lock.

Then composer install --prefer-dist.

@gephaest

This comment has been minimized.

Show comment
Hide comment
@gephaest

gephaest Sep 29, 2014

Contributor

@hoksilato thanks. I'm new with Composer. I was following by this instructions: #5060 (comment) :)

Your method works fine. Thanks!

Contributor

gephaest commented Sep 29, 2014

@hoksilato thanks. I'm new with Composer. I was following by this instructions: #5060 (comment) :)

Your method works fine. Thanks!

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 29, 2014

Contributor

@samdark please lock conversation on this issue and add link to latest guide of installation. :)

Contributor

githubjeka commented Sep 29, 2014

@samdark please lock conversation on this issue and add link to latest guide of installation. :)

@githubjeka

This comment has been minimized.

Show comment
Hide comment
@githubjeka

githubjeka Sep 29, 2014

Contributor

Not? Well, okay.

Contributor

githubjeka commented Sep 29, 2014

Not? Well, okay.

@yiisoft yiisoft locked and limited conversation to collaborators Sep 29, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.