Every time I try to make a compilation it shows me this error and I do not know how to solve it.
Any ideas?
php bin/magento setup:di:compile
Compilation was started. Area configuration aggregation... 5/7 [====================>-------] 71% 28 secs 252.0 MiB
[ReflectionException] Class Magento\Framework\Acl\CacheInterface does not exist
[ReflectionException] Class Magento\Framework\Acl\CacheInterface does not exist
Please provide 777 permission on generated folder on the root of magento installation.Please use commands given below before compilation:-
Also if there is permissions issue then you can use sudo before commands