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
3
Answers
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
It looks like permission issue, Please set proper file permission
Run Below command to set proper file permission :
For local development set pub and var to 775 or 777
The class
MagentoFrameworkAclCacheInterface
does not current exist since Magento 2.2, replace it withMagentoFrameworkAclDataCacheInterface