Running di:compile stops at 57%
Hello,
I’m having some problems running di:compile, when running it stops at 57% with one error in braintree an braintreegraphql.
Those modules are both disabled, but the problem is still there.
Running compilation:
Compilation was started.
Interceptors generation… 4/7 [========>—–] 57% 19 secs 259.0 MiB
In Generator.php line 139:
Class MagentoBraintreeGatewayConfigConfig does not exist
Class MagentoBraintreeGraphQlModelResolverCreateBraintreeClientTokenIn
terceptor generation error: The requested class did not generate properly,
because the ‘generated’ directory permission is read-only. If — after run
ning the ‘bin/magento setup:di:compile’ CLI command when the ‘generated’ di
rectory permission is set to write — the requested class did not generate
properly, then you must add the generated class object to the signature of
the related construct method, only.
Hope someone can help me, since i found some solutions but none worked..
Thanks in advance,
Best regards,
Leonel Nunes