Packaging failed. ue5.1

I have been trying to package my project , but it says packaging failed. Please help . its an emergency , i have to deliver project tomorrow . here is the error / ican share full Log file as well. ERROR: Cook failed.
(see C:\Users\chnnn\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+bi+UE_5.1\Log.txt for full exception trace)

CommandletException: Editor terminated with exit code 1 while running Cook for D:\ue5_1\ue5_1.uproject; see log C:\Users\chnnn\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+bi+UE_5.1\Cook-2023.08.18-00.32.25.txt
at AutomationTool.CommandUtils.FinishRunCommandlet(FileReference ProjectName, String Commandlet, DateTime StartTime, IProcessResult RunResult, String LocalLogFile, String& DestLogFile, Int32 ErrorLevel) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 441
at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UnrealExe, String Maps, String Dirs, String InternationalizationPreset, String CulturesToCook, String TargetPlatform, String Parameters) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 90
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 291Wrapped by AutomationException: Cook failed.
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 301
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 221
at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 42
at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.BuildCommand.ExecuteAsync() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
at AutomationTool.Automation.ExecuteAsync(List1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156

AutomationTool executed for 0h 5m 39s
AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Try running Unreal in Administrator
Try deleting your Intermediate Folder

I just tired both options but still same problem. Packaging failed.

I have followed those steps as well. Still no luck.

When you package does it pop a window up saying you need a SDK or anything like that

NO. I don’t get that SDK message. i get ERROR: Cook failed. Build failed error .

This packing is Window? Android?
I think that it have different solution depending on the Platform.

Its for Window.

With windows most forums or videos require you to install new DLSS or update

i have packaged the another project to days ago succesfully. Now i cant package any project. there is also problem in Build “Building All Levels” its says exporting lighting data %100 done but its running for an hour .

Level building depends on how much you have on the level and some times the lighting does take forever because youre supposed to build lighting first then the rest