Project works fine in Unreals Engine but wont build in VS

I was having some issues with some plugins and thought rebuilding the project would help me, but after removing binaries, intermediates, saved, .vs and .sln i could not get the project to build. luckily i saved those folders because i could not get it to rebuild without. Here is the error below. So i dug into DarkerNodes and it appears it does correctly inherit module rules. Any help fixing this build issues would be greatly apricated.

3>Expecting to find a type to be declared in a module rules named ‘DarkerNodes’ in ‘Unknown Assembly’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
3>S:\Program Files (x86)\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “S:\UnrealEngine5\UE_5.5\Engine\Build\BatchFiles\Build.bat ComponentLearningEditor Win64 Development -Project=“S:\Unreal Projects\ComponentLearning\ComponentLearning.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.
3>Done building project “ComponentLearning.vcxproj” – FAILED.

// using System.IO;
// using UnrealBuildTool;

// public class DarkerNodes : ModuleRules

I figured it has something to do with marketplace plugins in the engine folder, but i am still not sure how to fix it. after moving darkernodes to my project it is giving me a different error, same error but for

1>Expecting to find a type to be declared in a module rules named ‘VoxelPluginInstaller’ in ‘Unknown Assembly’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.

I am no VS/plugin prefessional but i am pretty sure the installer for VP2 has to be in the engine folder. So i am unsure how to fix these build issues now.