Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR with Firebase #1

Open
VladIsaiah opened this issue Feb 8, 2020 · 3 comments
Open

SSR with Firebase #1

VladIsaiah opened this issue Feb 8, 2020 · 3 comments
Labels
question Further information is requested

Comments

@VladIsaiah
Copy link

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

@lucaswxp
Copy link

Getting the same. This has to do with Firebase?

@MarkPieszak
Copy link
Member

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 MarkPieszak added the question Further information is requested label Feb 21, 2020
@sebastiangug
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants