Rabble-Rocks / rabble-skeleton

Project template for starting a project based on the Rabble admin system.
https://rabble.rocks
MIT License
11 stars 0 forks source link

Memory Error #3

Closed whjvdijk closed 2 years ago

whjvdijk commented 2 years ago

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.% `

shinyvision commented 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

whjvdijk commented 2 years ago

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)

Symfony operations: 44 recipes (0f700709fb7e8010e14ac8e99ed5f285)

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

shinyvision commented 2 years ago

@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.