Angular 9 - You must pass in a NgModule or NgModuleFactory to be bootstrapped
问题 I updated my Angular app from v6 to v9, and when testing it is really ok, but when I deploy it to my staging server, I have this error: You must pass in a NgModule or NgModuleFactory to be bootstrapped I have searched a lot about it, but I have no idea what could be done here. ./server.ts: const environment = process.env.NODE_ENV || 'local'; const docker = process.env.DOCKER || false; // These are important and needed before anything else import 'zone.js/dist/zone-node'; import 'reflect