Closed neroxyr closed 12 months ago
@neroxyr it is recommended to consult item 3 of the documentation available on the Troubleshooting page.
Thanks. That did it!
Moving on with the installation process running the 'make test' command
$ make test
cd app && php /usr/bin/phpunit --stop-on-failure
PHP Fatal error: Declaration of Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::tearDown() must be compatible with PHPUnit\Framework\TestCase::tearDown(): void in /home/redes/proethos2/proethos2/symphony/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php on line 187
make: *** [Makefile:10: test] Error 255
I've been reading that it's got sth to do witht the phpunit version. Can't find this in the troubleshoot section
Thanks
@neroxyr the commands make test
and make runserver
are not required and can be ignored.
After finishing the command composer install
, please make the following settings:
If you are not using the HTTPS protocol, setting the cookie_secure
variable to false
in the symphony/app/config/config.yml
file (after this fix, run the sudo make update
command inside the symphony
directory):
Add a hostname alias to IP number in /etc/hosts
like this:
127.0.0.1 localhost
127.0.0.1 proethos-env
He seguido el paso de la instalación pero me al momento de ejecutar
$ cd proethos2/symphony $ composer install
me aparece el siguiente error:
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested. 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 twig/extensions is abandoned, you should avoid using it. No replacement was suggested. Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead. Generating autoload files 23 packages you are using are looking for funding. Use the
composer fund
command to find out more!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 /home/redes/proethos2/proethos2 /symphony/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php on line 455
Exception trace: at phar:///usr/local/bin/composer/vendor/symfony/process/Process.php:143 Symfony\Component\Process\Process->__construct() at /home/redes/proethos2/proethos2/symphony/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php:455 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() at /home/redes/proethos2/proethos2/symphony/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php:82 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:450 Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:257 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:129 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/bin/composer/src/Composer/Installer.php:393 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:147 Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:298 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:1040 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:301 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:382 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:171 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:145 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:93 require() at /usr/local/bin/composer:29
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] [--] [...]