title: Relative module was not found, but all modules are there
body: <p>So I am migrating a react app to using typescript and suddenly I am getting this error.</p>
  <pre><code>This relative module was not found:
  
  * ./ in ./src/app/redux/reducers.ts
  </code></pre>
  <p>The file in question is the following:</p>
  <pre><code>import { combineReducers } from &quot;redux&quot;;
  import attachments from &quot;./Attachments/reducer&quot;;
  import announcements from &quot;./Announcements/reducer&quot;;
  import lectures from &quot;./Lectures/reducer&quot;;
  import lectureBlockResources from &quot;./LectureBlockResources/reducer&quot;;
  import chapters from &quot;./Chapters/reducer&quot;;
  import teaching from &quot;./Teaching/reducer&quot;;
  import invitations from &quot;./Invitations/reducer&quot;;
  import settings from &quot;./settings/reducer&quot;;
  import meetings from &quot;./Meetings/reducer&quot;;
  import categories from &quot;./Categories/reducer&quot;;
  import instructors from &quot;./Instructors/reducer&quot;;
  import groups from &quot;./Groups/reducer&quot;;
  import groupUsers from &quot;./GroupUsers/reducer&quot;;
  import groupCourses from &quot;./GroupCourses/reducer&quot;;
  import reviews from &quot;./Reviews/reducer&quot;;
  import auth from &quot;./Auth/reducer&quot;;
  import company from &quot;./Company/reducer&quot;;
  import companyPersonalizations from &quot;./CompanyPersonalizations/reducer&quot;;
  import profile from &quot;./Profile/reducer&quot;;
  import course from &quot;./Course/reducer&quot;;
  import objectives from &quot;./Objectives/reducer&quot;;
  import requirements from &quot;./Requirements/reducer&quot;;
  import users from &quot;./users/reducer&quot;;
  import userCourses from &quot;./userCourses/reducer&quot;;
  import userNotes from &quot;./userNotes/reducer&quot;;
  import students from &quot;./Students/reducer&quot;;
  import theme from &quot;./Themes/reducer&quot;;
  import courseProgram from &quot;./CourseProgram/reducer&quot;;
  import certificates from &quot;./Certificates/reducer&quot;;
  import tests from &quot;./Test/reducer&quot;;
  import evaluations from &quot;./Evaluations/reducer&quot;;
  import tour from &quot;./Tour/reducer&quot;;
  import userCalifications from &quot;./UserCalification/reducer&quot;;
  import courseSurveys from &quot;./CourseSurvey/reducer&quot;;
  
  const appReducer = combineReducers({
      attachments,
      announcements,
      lectures,
      chapters,
      teaching,
      invitations,
      settings,
      meetings,
      categories,
      instructors,
      company,
      companyPersonalizations,
      objectives,
      requirements,
      reviews,
      auth,
      course,
      profile,
      users,
      userCourses,
      userNotes,
      students,
      groups,
      groupUsers,
      theme,
      groupCourses,
      courseProgram,
      certificates,
      tests,
      evaluations,
      lectureBlockResources,
      tour,
      userCalifications,
      courseSurveys
  });
  
  const rootReducer = (state, action) =&gt; {
      if (action.type === &quot;AUTH_CLEAN&quot;) {
          state = undefined;
      }
      return appReducer(state, action);
  };
  
  if (module.hot) {
      module.hot.accept(&quot;./&quot;, () =&gt; {
          const nextRootReducer = rootReducer;
          store.replaceReducer(nextRootReducer);
      });
  }
  
  export default rootReducer;
  </code></pre>
  <p>I've never encountered this before and I have no idea where to follow. Has anyone had the experience of knowing what causes missing module errors from happening when they are not supposed to?</p>