-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
undefined is not a function (evaluating '_iterator2[typeof Symbol === "function" ? Symbol.iterator : "@@iterator"]()' #20902
Comments
I had faced this issue before and I found it. |
@dungps Yes i have seen that comment, but here issue is i am not using any loop or anything related to iterator. I have just used firebase library and that also just import statement of firebase, nothing else. |
@ravirupareliya I have the same issue here! Did you get a solution? |
@bernacle Not yet with this version, i have downgraded it to |
We are in the same page with this error. |
Try this solution. It works for me |
We are in the same page with this error. |
I have the same issue here |
@ravirupareliya @dungps @bernacle @RideShi @nsimmons I have same issue. did you find solution? |
I upgraded to 0.57.2 from 0.55.4 and the only thing that worked for me was to add babel-polyfill.
then in my index.js:
I did not try what @dungps suggested. |
I had the same issue while using firebase just add this to index.js |
@iamkaustubh1019 your solution worked for me!! Thanks. |
@rahimrahman solution works for me, using react native 0.58.3 with firebase 5.8.2 |
@iamkaustubh1019 worked for me. thanks!!! |
@lyson13 your welcome... |
Guys, I don't know if this could help but for me was just a catch of a Promise not managed. Still don't get why, usually these errors come out as yellow boxes. |
@rahimrahman please could you explain what was the issue and how polyfill was able to fix it. Thank you |
Same issue too, who can explain this bug? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Description
I am just using
firebase:5.4.1
and while importing firebase variable it is showing errorundefined is not a function (evaluating '_iterator2[typeof Symbol === "function" ? Symbol.iterator : "@@iterator"]()'
However it is working fine with iOS, issue is only with android. Here i am attaching screenshot of the error.
Reproducible Demo
I have just used import statement
The text was updated successfully, but these errors were encountered: