After fresh install magento 2.4.1, running the command setup:di:compile gives the error enter image description here

currently working on windows i tried all this on developer mode chmod -R -v 777 generated

1) php bin/magento cache:clear
2) php bin/magento setup:upgrade
3) php bin/magento setup:di:compile
4) php bin/magento setup:static-content:deploy -f

but still same issue

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.