Build fail when running debugger - MSB3073 with exit code 8

I’ve been following along a tutorial for making retro games (https://youtu.be/hF6-m4Jjc0g?si=PljuvQLAEe--YjhQ) and I’ve gotten along so far just fine, though the actor animation sequence broke so the weapon no longer bobs or draws properly but that’s not a concern. Currently, I’m using the Gameplay Abilities plugin from Epic.
In Visual Studio, when I go to add in the strings for the plugin and go to compile, I get an error for something in another section of the code that I never touched let alone knew existed, and I’m not sure what to do.

Here is the “retro_shooter_test.Build.cs” that has the Gameplay Abilities strings.

This is the error I’m receiving-


-For a piece of code over here in Microsoft.MakeFile.targets (highlighted)

And here’s the output log.

Build started at 2:32 PM…
1>------ Build started: Project: retro_shooter_test, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” retro_shooter_testEditor Win64 Development -Project=“C:\Users\tinal\OneDrive\Documents\Unreal Projects\retro_shooter_test\retro_shooter_test.uproject” -WaitMutex -FromMsBuild -architecture=x64
1>Log file: C:\Users\tinal\AppData\Local\UnrealBuildTool\Log.txt
1>Creating makefile for retro_shooter_testEditor (no existing makefile)
1>Total execution time: 4.34 seconds
1>Could not find definition for module ‘GameplayAbilites’, (referenced via Target → retro_shooter_test.Build.cs)
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat” retro_shooter_testEditor Win64 Development -Project=“C:\Users\tinal\OneDrive\Documents\Unreal Projects\retro_shooter_test\retro_shooter_test.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.
1>Done building project “retro_shooter_test.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========
========== Build completed at 2:32 PM and took 05.085 seconds ==========

The video I’m following doesn’t have this issue at all, and I can’t really continue without resolving this. Any help is always appreciated.