Skip to content
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

Invalid attempt to spread non-iterable instance #197

Open
destinybonavita opened this issue Jul 1, 2020 · 3 comments
Open

Invalid attempt to spread non-iterable instance #197

destinybonavita opened this issue Jul 1, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@destinybonavita
Copy link

destinybonavita commented Jul 1, 2020

I just randomly started to get the below error printed to console:

Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
- node_modules/@babel/runtime/helpers/nonIterableSpread.js:2:22 in _nonIterableSpread
- node_modules/@babel/runtime/helpers/toConsumableArray.js:10:111 in _toConsumableArray
- node_modules/emoji-mart-native/dist/components/emoji/nimble-emoji.js:1:945 in <global>
- node_modules/promise/setimmediate/core.js:37:14 in tryCallOne
- node_modules/promise/setimmediate/core.js:123:25 in setImmediate$argument_0
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:146:14 in _callTimer
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:194:17 in _callImmediatesPass
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:458:30 in callImmediates
* [native code]:null in callImmediates
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:407:6 in __callImmediates
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:143:6 in __guard$argument_0
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:384:10 in __guard
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:142:17 in __guard$argument_0
* [native code]:null in flushedQueue
* [native code]:null in callFunctionReturnFlushedQueue

I'm not sure what would of caused the issue. The only thing I had recently done was update my expo CLI. I forgot to mention I did also add a .d.ts typing file to my project, but that was it.
I tried deleting node_modules and reinstalling them all, starting expo while clearing the cache, but neither seem to be helping.

@destinybonavita destinybonavita added the bug Something isn't working label Jul 1, 2020
@pederjohnsen pederjohnsen self-assigned this Jul 1, 2020
@destinybonavita
Copy link
Author

I tried recloning my entire repository in a different directory, still running into the issue. Not sure what happened

@destinybonavita
Copy link
Author

Hi so, my app randomly started working again and stopped throwing this error? Not sure how or why it started working again but wanted to let you know. I think this should be kept open in the event it happens again

@pederjohnsen
Copy link
Member

@destinybonavita thanks :)

I'll try do some investigation over weekend regardless 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants