Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 255

any help ?

Increase memory limit?

how to do this?!

https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors

1 Like

THANK YOU VERY MUCH. It helped me.

For other bloody beginners I desciribe what I did to solve:

find the php.ini file with php -i | grep php.ini

copy the path and in the MacOS Finder press [cmd]+[Shift]+[G] - put in the path in the dialogue and open the ini file by right-click with sublime(or other texteditor) and find the line memory_limit = 128M and change the value to 2G

Then - if you get the timezone error while installing process:
Again open the php.ini and edit into date.timezone = Europe/Berlin or wherever you live: https://www.php.net/manual/de/timezones.php

1 Like