-
Notifications
You must be signed in to change notification settings - Fork 407
Runtime Error Zone already loaded #1081
Comments
please post a reproduce repo. |
Also experiencing this issue. I used |
@joshbabb , could you provide a sample repository to reproduce? |
hi @JiaLiPassion , i start a sample here too : https://github.com/Celtiore/test-angularfire2
thanks you, i'm not expert, but i suspect angularfire2 :) |
I had the same issue after following the tutorial from the docs: https://github.com/angular/angularfire2/blob/master/docs/ionic/v3.md I fixed it by installing version fix: |
Same issue here. Same setup, same error, same fix. |
@MaartenGDev , 5.0.0-rc.6 works fine here with firebase 4.13.1 |
I think this is an angularfire2 issue, I will check it there. |
should be fixed in angular/angularfire#1599, I have tested with @Celtiore 's repo using my modified |
Zone is being declared twice. A tip on changing the rc7 of angularfire2... |
What firebase version is suitable with angularfire2@5.0.0rc.7 ? I've installed angularfire2@4.0.0-rc0 |
@MuazzOsman , I think maybe issue is in |
thanks you @JiaLiPassion working fine repo updated : |
@JiaLiPassion It works just fine. |
Thank you @JiaLiPassion working perfectly |
I am facing the same problem as well after updating angularfire2 to version |
…configuración. Se instala la versión de angularfire2@5.0.0-rc.4 versiones posteriores causan el error de "Zone already loaded" - angular/zone.js#1081
Downgrading angularfire2 to version |
angularfire2 5.0.0-rc.4 run in the PC, but in the devices it does not work |
@josejaner , could you provide the detailed error information? |
I've downgrade angularfire2 to version 5.0.0-rc.4, but now i got another problem: My config is: I'm having this trouble with an app started with the template "tabs" |
@manoela-reis , this is not a |
Ok but before i didn't have this error. I tried to fik the zone error and now I got this one. |
When running Hope that helps you because I was struggling now a low with this incompatibility problem, it's really frustrating, developer should focus more on that before releasing new versions... |
Had the same issue, downgrading worked for me thanks |
|
@JiaLiPassion works like charm. Thanks you sir ! |
@kavvisha , because this is not a |
This is the problem of new firebase update, here is a solution for this error ** Step: 1** Install the lower version of firebase using this command npm install angularfire2@5.0.0-rc.4 ** Step: 2** npm install Try. |
@JiaLiPassion thank you ! ^_^ |
downgrading not working for me. :( |
Hi @JiaLiPassion , in my case, I integrated angular into a jQuery project. Everything works well when I direct to angular page first time. And I got back to jQuery page, after this, when I want to direct to angular page again. I got "zone already loaded". Do you have any idea in this case? |
Obviously, zone has been loaded in the first time. In the second time, it tried to load again, so I got this issue. Is there a way to unload zone? |
@jcDu, currently there is no way to unload |
@JiaLiPassion , thanks for the reply. Waiting for your good news. |
I found a solution that worked for me: comment out the line in polyfills.ts //import 'zone.js/dist/zone'; |
@JiaLiPassion any solution to this? When commenting out import as suggested by @SwCon it complains that angular requires it. @jcDu have you found any workarounds? |
I have created a PR to fix this one, it is still under review, if you want to test now, please update your
|
@JiaLiPassion I get the following when i tried your PR. But it for sure solve the original problem, I am using Angular 6.0.3 Uncaught Error: Already loaded patch: ZoneAwarePromise |
@pratikparikh-opentext , could you provide a reproduce repo? |
Im seeing the same error as @PratikParikh after using your PR @JiaLiPassion I am using AOT and I was seeing the "Zone already loaded" error. After pointing zone js to your PR in my package.json i am now seeing Uncaught Error: Already loaded patch: ZoneAwarePromise |
@Germcguire87, @pratikparikh-opentext, I will check it. |
@JiaLiPassion thank you sir. |
I have made a new PR #1121 to fix the |
@BennoStaub this was the easiest way for me. Downgrading angularfire2 to rc4 introducing conflicts with other packages. |
Hi guys,
|
Hie guys, i am developing my project in ionic 3 and Firebase Authentication on Firebase Version 4.13.1. I installed Angularfire2 and do everything. i created registration form and successfully put the user details into the firebase database when testing my app using ionic-lab. However the issue came when i closed and re-open my project, i got the following error:
ERROR in ...node_modules/angularfire2/firebase.app.module.d.ts (10,22): Class 'FirebaseApp' incorrectly implements class 'FirebaseApp'. Did you mean to extend 'FirebaseApp' and inherit its members as a subclass? Property 'automaticDataCollectionEnabled' is missing in type 'FirebaseApp'.
i solved the error above by adding this line " automaticDataCollectionEnabled: boolean; " into this class export declare class FirebaseApp implements _FirebaseApp { }
Now i can't run my App because it is now giving me a new error which i pasted below:
Runtime Error
Zone Already loaded.
Stack
Error: Zone already loaded.
at http://localhost:8100/build/vendor.js:117594:15
at http://localhost:8100/build/vendor.js:118206:3
at FUNCTION (http://localhost:8100/build/vendor.js:117571:10)
at Object. (http://localhost:8100/build/vendor.js:117574:2)
at Object. (http://localhost:8100/build/vendor.js:120624:30)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.defineProperty.value (http://localhost:8100/build/vendor.js:69092:66)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object. (http://localhost:8100/build/vendor.js:117089:72)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
I thought i am loading the module twice so i tried to remove <script src="build/vendor.js"></script> from index.html and got a new Runtime Error: webpack Jsonp is not defined.
I am stuck now, any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: