How long should a first game be?

Honestly I'd highly recommend to do a game anywhere inbetween 15-60 mins. It'll still take a while to create a game of such length and you'll learn a lot in the process that you can apply to future games. I'd also recommend finishing a few games of that length before you delve into the big game of your dreams.

EDIT: Finishing a few short games first will probably also save you the pain of going back and constantly reworking your entire game just because you learned about something new and now you want to redo your dream game implementing the new thing... And also it gives you the chance to experiment on each new small project, trying out new workflows, techniques, art styles, gameplay loops etc.
I think it depends on what you want to do. The main thing is to finish the project itself, not to think about how many hours of gameplay.

Original thread: https://forums.rpgmakerweb.com/threads/how-long-should-a-first-game-be.155579/