Command "generate:module" is not a valid command name
I have faced the same problem this works 100 %  :


open the shell and  cd to projectFolder  
run this command : 



   composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader



then run this command :



   composer update drupal/console --with-dependencies



run drupal list command again, and you'll find the list of all commands.

! this steps must be repeated with each project.