0

I am creating a new module in Magento 2 when I run the command

bin/magento module:enable Module_Name

it's giving following error

Path "/var/www/vhosts/magento2-blank/app/etc/" cannot be used with directory "/var/www/vhosts/magento2-blank/app/etc/"

can anyone have the same problem?

1 Answer 1

1

Please give writable permissions to app/etc. Since you are enabling the new module, your config.php file must have write permission to do changes which reside in app/etc directory. Please run the command.

chmod -R 777 app/etc/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.