title: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'ɵmod')
body: <p>I have migrated my application from Angular version 9 to 13. After a lot of caveats I reached to ng serve it without any error in Angular CLI. Now, as soon as my application launches in browser, I see below provided error.</p>
  <p>I tried different solutions provided by different communities; like; stackoverflow, github etc. but unfortunately no luck so far. I tried below suggestions:</p>
  <ul>
  <li>Delete node_modules, delete package.lock.json, clear the npm cache, clear the .angular cache, restart VS code, do npm i, ng serve.</li>
  <li>Check for circular dependency in application and resolve it.</li>
  <li>If you are using custom pipe in application, don't mention them in imports of ngModule, mention them in providers.</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/WLXLJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WLXLJ.png" alt="Error Image" /></a></p>
  <p>Any help is appreciated. Thanks a lot !!!</p>
  <p><strong>Package.json &amp; tsconfig.json</strong>
  <a href="https://i.stack.imgur.com/5EwOs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5EwOs.png" alt="enter image description here" /></a></p>