Closed gazialankus closed 6 years ago
I wonder if the underlying firebase js library needs to be updated. I don't think I saw this before.
In my index.html I'm including firebase js 4.10.1 and firebaseui js 2.6.2, which is what's there in the example here: https://github.com/wstrange/firebase_dart_ui/blob/master/example/web/index.html
I remember trying different versions and having the same issue, but I'm happy to try it again if there are versions that you would suggest.
I just updated the example app for Dart 2, and tested it with intellij. It works fine. Please give it a go and reopen if you still have problems.
Sorry I need to make a correction: I don't hit play in IntelliJ, I hit debug.
I just upgraded my app like your example and I'm getting the same situation as before. Here's my detailed observation: When I start it with debug in IntelliJ, this error happens. However, pressing stop in IntelliJ and refreshing the browser (running without the debugger connected) does not create this error and works just fine.
I will now try the example in this repo.
Yes, the latest example here also has the same issue when debugged with IntelliJ. Here's how to reproduce:
(top-right of the screen below shows we're debugging)
Edit: I'm not sure if I have the permission to reopen this issue, could not find how to do that. Could you reopen it?
I think this is more a general issue of debugging mixed dart / JS code using DDC. I am not sure there is much I can do here as it is more of a general SDK / DDC issues
If you have any suggestions, I'm open to them..
Thanks. What's the best place to raise this issue?
I often get this with DDC (hitting play [edit: debug, not play] in IntelliJ). I never get this with dart2js (deploying it to Firebase hosting). But curiously, I don't get this on some days. [edit: see my following comments, this only happens when the IntelliJ debugger is connected.]
Here's the error I see on the console:
This happens after coming back to my site from Google auth.