# UE5.1 Expecting to find a type to be declared in a module rules named '......'

**URL:** <https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811>\
**Category:** C++\
**Tags:** unreal-build-tool, unreal-engine, Engine-Source-Code, compile-error, feedback, Plugins, question, CPP\
**Created:** [January 4, 2023, 8:17am UTC](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811 "2023-01-04T08:17:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [February 9, 2024, 8:51pm UTC](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811/7 "2024-02-09T20:51:23Z")

</div>

Lol I came across this issue again today, and I cannot remember how I solved it in July 23 😃

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811)._
