Can't open project in editor: ModuleManager: Module XXX not found

Hmm. Okay, so I’ve now commented all reference to ProceduralMeshComponent in the source files, and removed it from the Build.cs, I can open the project in the editor.

However as soon as I add it back in XXX.Build.cs:
PublicDependencyModuleNames.AddRange(new string] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “ProceduralMeshComponent”, “HTTP”, “Json” });

then I get the error again. Perhaps I’m doing the above wrong? I’m very much a newbie here.