Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony 2.2 - can't install jmsSerializerBundle via composer #283

Closed
fdonzello opened this issue Mar 26, 2013 · 1 comment
Closed

Symfony 2.2 - can't install jmsSerializerBundle via composer #283

fdonzello opened this issue Mar 26, 2013 · 1 comment

Comments

@fdonzello
Copy link

my composer:

{
"name": "symfony/framework-standard-edition",
"description": "The "Symfony Standard Edition" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.2.",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.
",
"twig/extensions": "1.0.",
"symfony/assetic-bundle": "2.1.
",
"symfony/swiftmailer-bundle": "2.2.",
"symfony/monolog-bundle": "2.2.
",
"sensio/distribution-bundle": "2.2.",
"sensio/framework-extra-bundle": "2.2.
",
"sensio/generator-bundle": "2.2.",
"jms/security-extra-bundle": "1.4.
",
"jms/di-extra-bundle": "~1.3@alpha",
"mopa/bootstrap-bundle": "dev-master",
"twitter/bootstrap": "dev-master",
"knplabs/knp-paginator-bundle": "dev-master",
"knplabs/knp-menu-bundle": "dev-master",
"craue/formflow-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "master"
},
"scripts": {
"post-install-cmd": [
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile",
"Mopa\Bundle\BootstrapBundle\Composer\ScriptHandler::postInstallSymlinkTwitterBootstrap"
],
"post-update-cmd": [
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile",
"Mopa\Bundle\BootstrapBundle\Composer\ScriptHandler::postInstallSymlinkTwitterBootstrap"
]
},
"config": {
"bin-dir": "bin"
},
"minimum-stability": "dev",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"branch-alias": {
"dev-master": "2.2-dev"
}
}
}

The error:

Problem 1
- Installation request for jms/serializer-bundle master -> satisfiable by jms/serializer-bundle dev-master.
- jms/serializer-bundle dev-master requires jms/serializer >=0.11.0,<0.13-dev -> satisfiable by jms/serializer 0.11.0.
- Conclusion: remove jms/metadata dev-master
- jms/serializer 0.11.0 requires jms/metadata >=1.1.0,<1.3-dev -> satisfiable by jms/metadata 1.1.1, jms/metadata 1.2.0-RC.
- Can only install one of: jms/metadata dev-master, jms/metadata 1.1.1.
- Can only install one of: jms/metadata dev-master, jms/metadata 1.2.0-RC.
- Installation request for jms/metadata == 9999999-dev -> satisfiable by jms/metadata dev-master.

@fdonzello
Copy link
Author

solved installing in this order:

  1. "jms/metadata": ">=1.1.0,<1.3-dev"
  2. "jms/serializer": "0.11.0",
  3. this bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant