UE4.25 cmd.exe failed with args

What fixed it for me was closing the project and deleting the Intermediate and Saved folders. Open it again and it worked packaged fine