Runtime error with Angular 9 and Ivy: Cannot read property 'id' of undefined ; Zone : <p>We have an Angular 8 project with tests.  We are attempting to upgrade to Angular 9 and went through all the steps in <a href="https://update.angular.io/#8.0:9.0l3" rel="noreferrer">https://update.angular.io/#8.0:9.0l3</a>.  This all went smoothly, no issues.  The app compiles with no errors and all of the tests run fine.  We are getting this error at runtime.  When we turn off Ivy, it runs fine so definitely seems related to Ivy.  </p>

<pre><code>zone-evergreen.js:659 Unhandled Promise rejection: Cannot read property 'id' of undefined ; Zone: &lt;root&gt; ; Task: Promise.then ; Value: TypeError: Cannot read property 'id' of undefined
at registerNgModuleType (core.js:35467)
at core.js:35485
at Array.forEach (&lt;anonymous&gt;)
at registerNgModuleType (core.js:35481)
at core.js:35485
at Array.forEach (&lt;anonymous&gt;)
at registerNgModuleType (core.js:35481)
at new NgModuleFactory$1 (core.js:35649)
at compileNgModuleFactory__POST_R3__ (core.js:41403)
at PlatformRef.bootstrapModule (core.js:41768) TypeError: Cannot read property 'id' of undefined
at registerNgModuleType (http://localhost:8080/vendor.js:41436:27)
at http://localhost:8080/vendor.js:41454:14
at Array.forEach (&lt;anonymous&gt;)
at registerNgModuleType (http://localhost:8080/vendor.js:41450:17)
at http://localhost:8080/vendor.js:41454:14
at Array.forEach (&lt;anonymous&gt;)
at registerNgModuleType (http://localhost:8080/vendor.js:41450:17)
at new NgModuleFactory$1 (http://localhost:8080/vendor.js:41602:13)
at compileNgModuleFactory__POST_R3__ (http://localhost:8080/vendor.js:46530:27)
at PlatformRef.bootstrapModule (http://localhost:8080/vendor.js:46859:16)
</code></pre>
