Closed Aetherall closed 8 years ago
I'm not sure where this comes from. Can you to add the following to your composer.json
?
"symfony2admingenerator/generator-bundle": "~2.0",
You should be able to update this bundle specific by running composer update symfony2admingenerator/generator-bundle
Once my .json edited I ran composer update symfony2admingenerator/generator-bundle
and get the exact same error :/
Maybe I can install bundles manually, by moving folders in the right place but I don't know where the doctrine bundle have to be
I've just tested it in a clean directory:
$ mkdir testrepo && cd testrepo
$ php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
$ php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === 'fd26ce67e3b237fffd5e5544b45b0d92c41a4afe3e3f778e942e43ce6be197b9cdc7c251dcde6e2a52297ea269370680') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); }"
$ php composer-setup.php
$ php -r "unlink('composer-setup.php');"
$ php composer.phar require symfony2admingenerator/generator-bundle
This worked perfectly for me. You either are using an older version of composer, or you have a problem in your composer.json
file. The problem is not related to this bundle.
Hi!
When i try to :
composer require symfony2admingenerator/generator-bundle
I get this error :Does that mean I have to set a version to install? If yes, have I to do it in composer.json? where?
Thanks!!