Closed whjvdijk closed 2 years ago
@whjvdijk Probably just increase your PHP memory limit in /etc/php/php.ini (or wherever it's located on your system) or run composer as follows: php -d memory_limit=-1 {COMPOSER} install
That worked a little bit better. But im still getting errors... See an entire copy past of below.
~/Documents/Websites/rabble ‣ php -d memory_limit=-1 /opt/homebrew/bin/composer create-project rabble/skeleton Creating a "rabble/skeleton" project at "./skeleton" Installing rabble/skeleton (0.3.2)
composer fund
command to find out more!Symfony operations: 44 recipes (0f700709fb7e8010e14ac8e99ed5f285)
WARNING doctrine/phpcr-bundle (>=2.0): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/doctrine/phpcr-bundle/2.0
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
WARNING friendsofsymfony/jsrouting-bundle (>=2.3): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/friendsofsymfony/jsrouting-bundle/2.3
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
WARNING liip/imagine-bundle (>=1.8): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/liip/imagine-bundle/1.8
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
WARNING vich/uploader-bundle (>=1.7): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/vich/uploader-bundle/1.7
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
WARNING damienharper/doctrine-audit-bundle (>=1.0): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/damienharper/doctrine-audit-bundle/1.0
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
WARNING stof/doctrine-extensions-bundle (>=1.2): From github.com/symfony/recipes-contrib:master The recipe for this package comes from the "contrib" repository, which is open to community contributions. Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/stof/doctrine-extensions-bundle/1.2
Do you want to execute this recipe? [y] Yes [n] No [a] Yes for all packages, only for the current installation session [p] Yes permanently, never ask again for this project (defaults to n): y
composer fund
command to find out more!Run composer recipes at any time to see the status of your Symfony recipes.
@php -r 'if(!file_exists(".env.local")) {copy(".env.dist", ".env.local");}' Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 1 !!
!! In ApcuAdapter.php line 31: !!
!! APCu is not enabled.
!!
!!
!! 2021-11-16T12:22:25+00:00 [info] User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "twig_mode" to "lazy" instead. !! 2021-11-16T12:22:25+00:00 [info] User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. !! 2021-11-16T12:22:25+00:00 [info] User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\PasswordAuthenticatedInterface" class is deprecated, use the new authenticator system instead. !! 2021-11-16T12:22:25+00:00 [info] User Deprecated: The "Rabble\UserBundle\Security\AdminAuthenticator" class implements "Symfony\Component\Security\Guard\PasswordAuthenticatedInterface" that is deprecated since Symfony 5.3, use the new authenticator system instead. !! 2021-11-16T12:22:25+00:00 [info] User Deprecated: The "Rabble\UserBundle\Security\AdminAuthenticator" class extends "Symfony\Component\Security\Guard\Authenticator\AbstractFormLoginAuthenticator" that is deprecated since Symfony 5.3, use the new authenticator system instead. !!
Script @auto-scripts was called via post-update-cmd
@whjvdijk Looks like you need to install/enable APCu (as seen clearly by the error message you're getting) or disable it in the config ;) These kinds of things are easily resolved by doing a quick Google search. I wouldn't recommend tinkering with Rabble if you're having trouble with this. Maybe start with trying out some things in vanilla Symfony or Laravel so you can learn some of the basics of PHP. Really trying to help, I hope I didn't offend you.
Hi Rachel,
When i want to create a new Rabble project I get the error below. But my memory limit is set to unlimited. I have 128Gb of RAM available so I really don't think this is a issue with my computer. I watched the video on youtube regarding Rabble and can't wait to start working with it. Please help me Obi-Wan Kenobi...
`Creating a "rabble/skeleton" project at "./rabbletest" Installing rabble/skeleton (0.3.2)
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in phar:///opt/homebrew/Cellar/composer/2.1.9/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 87
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.% `