angular-universal-v9 icon indicating copy to clipboard operation
angular-universal-v9 copied to clipboard

SSR with Firebase

Open VladIsaiah opened this issue 5 years ago • 3 comments

After updating to Angular 9 an error occurs: Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped

VladIsaiah avatar Feb 08 '20 14:02 VladIsaiah

Getting the same. This has to do with Firebase?

lucaswxp avatar Feb 14 '20 12:02 lucaswxp

I'm not sure if this has something to do with Firebase, but more likely it's the server.ts file.

Can you check out this stackoverflow issue and see if it helps?

https://stackoverflow.com/questions/49850267/angular-universal-getting-error-you-must-pass-in-a-ngmodule-or-ngmodulefactory

MarkPieszak avatar Feb 21 '20 19:02 MarkPieszak

Are you using the serverless functions bit with the appropriate changes?

Afaik Firebase only provides static website hosting -- a CDN will simply serve the files to the client from a bucket. There's no 'server' to actually render/bootstrap the app.

sebastiangug avatar Feb 26 '20 12:02 sebastiangug