-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Angular10 - Loading chunk firebase-analytics failed #2575
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
Had the same issue. In my case, I found out that my AdBlock was preventing the library from downloading the firebase-analytics file. |
@HugoSart Wow I can't believe it, it is indeed AdBlock, it works when disabled. Now I don't know what to do, as I can't control that |
i have the same problem :( , thank for the answer, i disable adblocker for my page and this works.. the error disapier |
I'm not sure that there is much that the library can do to avoid ad blockers. Most likely any update would be met with a change to the ad blocker to make sure that it breaks loading again. |
Thanks for You reply
El jue., 24 de septiembre de 2020 5:04 p. m., Michael Prentice <
[email protected]> escribió:
… I'm not sure that there is much that the library can do to avoid ad
blockers. Most likely any update would be met with a change to the ad
blocker to make sure that it breaks loading again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2575 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQAEQKGLG5YCQPHE7H5GLMDSHO7ALANCNFSM4QKXQIGQ>
.
|
Does it mean that firebase analytics won't be able to send data from user using adBlock/uBlock Origin ? |
Version info
Angular: 10.0.5 / 10.0.1 / 10.0.0
Firebase: 7.19.0 / 7.15.1
AngularFire: 6.0.2 / 6.0.3-canary.93912bc
Other (e.g. Ionic/Cordova, Node, browser, operating system): Any browser, Mac
How to reproduce these conditions
ng new test-project
) (Angular CLI 10.0.4)firebase
andAngular/fire
angular.json
"allowedCommonJsDependencies": [ "firebase/app", "@firebase/auth"]
to disable ES module / commonjs module warning at the console.Additional:
I tried to use
npm i @angular/fire@canary
without any success, following #2526, and even downgrading the versions of both Angular and firebase.I also tried to disable vendor-chunk and common-chunk, and some multiple other options.
Debug output
Expected behavior
Imports and works ?!
Actual behavior
Error at the console, can't use the service.
The text was updated successfully, but these errors were encountered: