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

Exit code 1 #33

Open
DPiddy44 opened this issue Nov 23, 2023 · 0 comments
Open

Exit code 1 #33

DPiddy44 opened this issue Nov 23, 2023 · 0 comments

Comments

@DPiddy44
Copy link

Hi,

Trying to add this package. PHP version 7.2.34. Getting the below error:

composer install

$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=America/Halifax /usr/local/cms/cms0/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
88 packages you are using are looking for funding.
Use the composer fund command to find out more!

Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In Process.php line 143:

[TypeError]
Argument 1 passed to Symfony\Component\Process\Process::__construct() must
be of the type array, string given, called in /usr/local/cms/cms0/vendor/co
ntao/manager-bundle/src/Composer/ScriptHandler.php on line 75

Exception trace:
at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/symfony/process/Process.php:143
Symfony\Component\Process\Process->__construct() at /usr/local/cms/cms0/vendor/contao/manager-bundle/src/Composer/ScriptHandler.php:75
Contao\ManagerBundle\Composer\ScriptHandler::executeCommand() at /usr/local/cms/cms0/vendor/contao/manager-bundle/src/Composer/ScriptHandler.php:30
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:450
Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:257
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:129
Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Installer.php:393
Composer\Installer->run() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Command/InstallCommand.php:147
Composer\Command\InstallCommand->execute() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:382
Composer\Console\Application->doRun() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:145
Composer\Console\Application->run() at phar:///usr/local/cms/cms0/web/contao-manager.phar.php/api/console:98
require() at /usr/local/cms/cms0/web/contao-manager.phar.php:42
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]

Process terminated with exit code 1

Result: General error'

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