Skip to main content
added 140 characters in body
Source Link
Mukesh Chapagain
  • 5.5k
  • 4
  • 39
  • 51

Giving full control (read/write/execute) to var and pub directory solved this issue for me.

sudo chmod -R 777 var pub

Or, you may also try running the command using sudo.

sudo php -f bin/magento module:enable --clear-static-content Test_Module

Giving full control (read/write/execute) to var and pub directory solved this issue for me.

sudo chmod -R 777 var pub

Giving full control (read/write/execute) to var and pub directory solved this issue for me.

sudo chmod -R 777 var pub

Or, you may also try running the command using sudo.

sudo php -f bin/magento module:enable --clear-static-content Test_Module
Source Link
Mukesh Chapagain
  • 5.5k
  • 4
  • 39
  • 51

Giving full control (read/write/execute) to var and pub directory solved this issue for me.

sudo chmod -R 777 var pub