UE5 unknown packaging error

Game packaging keeps failing even though I have the windows SDK and DotNet core sdk installed properly. The output log tells me that an unknown error has occured.

UATHelper: Packaging (Windows): ERROR: System.IO.InvalidDataException: Found invalid data while decoding.

Link to the output log: LogStats: Stats thread started at 0.428885LogPluginManager: Adding extension m - Pastebin.com