PUGX / PUGXMultiUserBundle

An extension for FOSUserBundle to handle users of different types. Compatible with Doctrine ORM.
163 stars 96 forks source link

Composer installation fails #50

Closed Vincebml closed 10 years ago

Vincebml commented 10 years ago

Using Symfony 2.4.1 and adding these lines in the composer.json :

"friendsofsymfony/user-bundle": "2.0.@dev", "pugx/multi-user-bundle": "3.0.@dev", "doctrine/doctrine-bundle": "1.2.*@dev"

Always return :

Problem 1

Potential causes:

Seems to be blocked by doctrine-bundle... Any idea ?

leopro commented 10 years ago

it's for that https://github.com/doctrine/DoctrineBundle/commit/d46f8401d00741f431e32abcec400f560ebd87b0#commitcomment-5211793

anyway last commit on master branch should fix it, please try it and let me know

Vincebml commented 10 years ago

Seems to be ok now, thank you ! :-)

sas05 commented 10 years ago

@leopro I have same problem, but not fixed for me yet. here is my composer.json

"require": {
        "php": ">=5.3.3",
        "symfony/symfony": "~2.4",
        "doctrine/orm": "~2.2,>=2.2.3",
        "doctrine/doctrine-bundle": "~1.2",
        "twig/extensions": "~1.0",
        "symfony/assetic-bundle": "~2.3",
        "symfony/swiftmailer-bundle": "~2.3",
        "symfony/monolog-bundle": "~2.4",
        "sensio/distribution-bundle": "~2.3",
        "sensio/framework-extra-bundle": "~3.0",
        "sensio/generator-bundle": "~2.3",
        "incenteev/composer-parameter-handler": "~2.0",
        "friendsofsymfony/user-bundle": "~2.0@dev",
        "jms/security-extra-bundle": "dev-master",
        "pugx/multi-user-bundle": "3.0.*@dev"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
giorrrgio commented 10 years ago

@sas05 what are you trying to do? composer install? If it's okay for you try to composer update. If it fails, try to remove the composer.lock file and do a fresh install

sas05 commented 10 years ago

@giorrrgio I tried with composer update. but yes I didn't remove composer.lock file.

but later I used "pugx/multi-user-bundle": "dev-master" instead of "pugx/multi-user-bundle": "3.0.*@dev" and its work.

leopro commented 10 years ago

3.0 is just an alias for dev-master ;-)

sas05 commented 10 years ago

@leopro ahh actually I didn't know that. then after remove composer.lock and and fresh install will work. Thanks for the support. I appreciate :)