When running following command for generating module using the drupal console on MacBook air
drupal generate: module
facing this error - [ERROR] Command "generate: module", is not a valid command name.
When running following command for generating module using the drupal console on MacBook air
drupal generate: module
facing this error - [ERROR] Command "generate: module", is not a valid command name.
This can happen if you're running the command from a folder outside of your Drupal document root, or if you're inside the document root but your web server isn't running.