globalThis is not defined when adding angularfire modules to Angular Universal app #2716
Unanswered
chrisoppedal
asked this question in
Q&A
Replies: 1 comment
-
This problem (globalThis is not defined...) is solved if you use Node V14 LTS version. I have the same problem when I use Node 10 or Node 12. Good luck! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Angular version : 11.0.4
Firebase: Latest
AngularFire: version 6.1.4
Node version: 12.18.3
I started a new project with these commands:
ng new testProject
ng add @nguniversal/express-engine
ng add @angular/fire
ng deploy
ng deploy
More debugging info: https://stackoverflow.com/questions/65243054/cant-update-firebase-function-to-node-12-in-angular-universal-app-with-angularf
Beta Was this translation helpful? Give feedback.
All reactions