Hey there @Elprofedeunreal! Welcome to the community! There should be some text after that error which tells you which targets it sees. Would look a bit like:
UATHelper: Packaging: Error: Multiple game targets found for project. Specify the desired target using the -Target=… argument.
UATHelper: Packaging (Windows): Could be "YourGame" (File location)
UATHelper: Packaging (Windows): Could be "YourGameOtherModule" (File location2)
Seeing what it believes to be the alternate setups you can determine which to build.
If this was specifically for a Lyra based game, this thread goes into it a bit in detail: