The drupal generate:entity:content command throws the following error
PHP Fatal error: Call to a member function getPath() on null in [...]/vendor/drupal/console/src/Generator/EntityContentGenerator.php on line 84
Drupal 8.3.1
Drupal Console version 1.0.0-rc18
@extravio I just ran it and it works:

Are you passing arguments/parameters when executing the command?
That's another issue: I have to specify --module, otherwise I get an error
[ERROR] Value "example" is invalid

here's the screenshot of the error

I tried on both an existing project and a fresh install
Module should be generated before using it.
That is why baba is not valid.
When passing --module example is this example module a valid module?
We need to validate if the passed module is not valid and trigger an exception instead of continue execution and ask more questions.
Thanks! I thought the module would be created automatically as part of the entity generation.
All working now.
Would it be easy to alter the message (sent with the exception) to be more helpful in terms of understainding why "Value 'xxx' is invalid"?
@rpsu we have already improved it some versions ago.
Most helpful comment
Module should be generated before using it.
That is why
babais not valid.When passing
--module exampleis thisexamplemodule a valid module?We need to validate if the passed module is not valid and trigger an exception instead of continue execution and ask more questions.