Can't generate project files: ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line

I think the solution I ended up using was some combination of a fully qualified path name (even though I was running from the directory of the .uproject) or running the regeneration manually from the command line, instead of the .uproject right-click menu.