2amigos / yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension
https://github.com/2amigos/yii2-usuario
Other
294 stars 142 forks source link

compoer install/update can't resolve dependences #250

Open bscheshirwork opened 5 years ago

bscheshirwork commented 5 years ago

What steps will reproduce the problem?

compoer install/compoer update on root folder of this package

What is the expected result?

all vendor packages is installed sucessfly

What do you get instead?

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

  Problem 1
    - Installation request for 2amigos/yii2-selectize-widget ^1.1 -> satisfiable by 2amigos/yii2-selectize-widget[1.1.0].
    - 2amigos/yii2-selectize-widget 1.1.0 requires bower-asset/selectize ~0.12.0 -> no matching package found.
TonisOrmisson commented 5 years ago

probably the bower-asset conf problem if you run it as a module without haveing a project around it you need to configure the bower-assets eg see https://github.com/2amigos/yii2-usuario/blob/master/.travis.yml#L33

bscheshirwork commented 5 years ago

So... The yii2 team now use

    "config": {
        "process-timeout": 1800,
        "fxp-asset": {
            "enabled": false
        }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ]

for yii2-app-advanced... We can use it too? Or this is not possible? repositories will be use only for install "without haveing a project around", right?