-
Notifications
You must be signed in to change notification settings - Fork 2.2k
AngularFireMessaging keeps Universal from compiling #1938
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
Comments
I'm running into the same issue
The build process doesn't break for me but the dev-server does. Same line and error. |
@jamesdaniels I think we need a way to strip out the dynamic import for UMD builds. |
The error still happening. Angular with Angular Universal build the application correctly, but when I try to run the build using the command: The error also appears when I try to upload the build to firebase using the command:
|
@davideast, @jamesdaniels I have a clean installation with Angular Universal and @angular/fire here: https://github.com/Jemonge/angular-universal-firebase After installing @angular/fire and configuring AngularFireMessagingModule in app.module.ts I got the same error. You can reproduce the error following these steps:
|
Work around is to not include AngularFireMessaging in your server app module btw, only include it in your browser. I will strip it from the UMD but will need to fiddle with the build script. |
Until @davideast can find a way to not have To set up, do the following: ng new <projectName>
cd <projectName>
ng add @nguniversal/express-engine --clientProject <projectName> |
Any news about this problem? Any estimated date when it could be solved? My project has been delayed by this problem. 😕 |
When can we expect an fix for this issue ? |
A fix has been released in |
Hi, Im having this problem when I try to use messaging on an application using Angular Universal.
Angular version:
The text was updated successfully, but these errors were encountered: