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

erreur à l'installation #1120

Open
Pascal-ALL opened this issue May 30, 2024 · 1 comment
Open

erreur à l'installation #1120

Pascal-ALL opened this issue May 30, 2024 · 1 comment

Comments

@Pascal-ALL
Copy link

Bonjour,

J'essaye d'installer elefan pour la coopérative dont je fais partis mais la commande suivante me génère une erreur:

composer install

Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead.
Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/assetic-bundle is abandoned, you should avoid using it. Use symfony/webpack-encore-pack instead.
Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.
Generating autoload files
68 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
Deprecation Notice: Duplicate key "code_generation_enabled" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since Symfony 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line 190. in /home/pallexandre/gestion-compte/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:406
Deprecation Notice: Duplicate key "display_freeze_account" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since Symfony 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line 191. in /home/pallexandre/gestion-compte/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:406
Deprecation Notice: Duplicate key "display_freeze_account_false_message" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since Symfony 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line 192. in /home/pallexandre/gestion-compte/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:406
Deprecation Notice: Duplicate key "display_keys_shop" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since Symfony 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line 193. in /home/pallexandre/gestion-compte/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:406
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
'/home/pallexandre/gestion-compte/vendor/sensio/distribution-bundle/Composer/../Resources/bin/build_bootstrap.php''--php-ini=/etc/php/7.4/cli/php.ini'
In Process.php line 144:
                                                                               
  [TypeError]                                                                  
  Argument 1 passed to Symfony\Component\Process\Process::__construct() must   
  be of the type array, string given, called in /home/pallexandre/gestion-com  
  pte/vendor/sensio/distribution-bundle/Composer/ScriptHandler.php on line 31  
  3                                                                            
                                                                               

Exception trace:
  at phar:///home/pallexandre/bin/composer/vendor/symfony/process/Process.php:144
 Symfony\Component\Process\Process->__construct() at /home/pallexandre/gestion-compte/vendor/sensio/distribution-bundle/Composer/ScriptHandler.php:313
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() at /home/pallexandre/gestion-compte/vendor/sensio/distribution-bundle/Composer/ScriptHandler.php:88
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar:///home/pallexandre/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:479
 Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///home/pallexandre/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:266
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///home/pallexandre/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:115
 Composer\EventDispatcher\EventDispatcher->dispatch() at phar:///home/pallexandre/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:246
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///home/pallexandre/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:131
 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///home/pallexandre/bin/composer/src/Composer/Installer.php:410
 Composer\Installer->run() at phar:///home/pallexandre/bin/composer/src/Composer/Command/InstallCommand.php:147
 Composer\Command\InstallCommand->execute() at phar:///home/pallexandre/bin/composer/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///home/pallexandre/bin/composer/vendor/symfony/console/Application.php:1040
 Symfony\Component\Console\Application->doRunCommand() at phar:///home/pallexandre/bin/composer/vendor/symfony/console/Application.php:301
 Symfony\Component\Console\Application->doRun() at phar:///home/pallexandre/bin/composer/src/Composer/Console/Application.php:394
 Composer\Console\Application->doRun() at phar:///home/pallexandre/bin/composer/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///home/pallexandre/bin/composer/src/Composer/Console/Application.php:148
 Composer\Console\Application->run() at phar:///home/pallexandre/bin/composer/bin/composer:93
 require() at /home/pallexandre/bin/composer:29

J'utilise

  • NAME="Debian GNU/Linux" VERSION_ID="11"
  • PHP 7.4.33
  • mariadb Ver 15.1 Distrib 10.5.23-MariaDB

J'ai très peu changé le fichier de configuration app/config/parameters.yml. Avez-vous une idée ?

Cordialement,

@rainbob5
Copy link

rainbob5 commented Aug 9, 2024

Erreur réglée en downgradant Composer à la version 2.2 et PHP en 7.4 ! (7.2 fonctionne aussi)

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

2 participants