1

I installed Magento 2.3 successfully on my Ubuntu Maschine and tried to start to make my first own module. I followed this tutorial: https://www.cloudways.com/blog/create-module-in-magento-2/.

But I quickly ran into a problem as the php bin/magento module:status command is not working.

The problem is that

There are no commands defined in the "module" namespace.

Any Idea how I can save this problem?

enter image description here

  • just run php bin/magento only and check here you will get errors then solve them – Ansar Husain Aug 6 at 12:59
1

Check module.xml file of your module which you created at last. This error generally occurs because of this file only.

  • you are the best man. i feel so stupid. forgot one space between to words. so sorrrrrrry – Felix Schönherr Aug 6 at 13:06
  • +1 Nice Answer.. – Rk Rathod Aug 6 at 13:12
  • need to wait 10 min or so, thanks – Felix Schönherr Aug 6 at 13:12
0

You need to just add the permission to Magento var, generated & pub folder. Just hit the below cmd in Magento root directory.

sudo chmod -R 0777 pub/* generated/* var/*

Your Answer

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

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