question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not a function (evaluating 'arr[typeOf Symbol === 'function'? Symbol.iterator:'@@iterator']()')

See original GitHub issue

Is this a bug report?

(yes)

Have you read the Contributing Guidelines?

(no)

Environment

Environment: OS: macOS Sierra 10.12.6 Node: 6.11.2 Yarn: 0.27.5 npm: 5.5.1 Watchman: 4.7.0 Xcode: Xcode 8.3.3 Build version 8E3004b Android Studio: 3 AI-171.4408382

Packages: (wanted => installed) react-native: 0.44.2 => 0.44.2 react: 16.0.0-alpha.6 => 16.0.0-alpha.6

Target Platform: iOS (11)

Steps to Reproduce

1.create a project react native with version 0.44.2 and install the ReactNavigation 2.then configure the StackNavigator as described by the official ReactNavigation website and that’s when I got this error. 3.The funny thing that when I activate the debug the application works correctly

Expected Behavior

(I expected it to work the same as the Debug that did not leave said error)

Actual Behavior

screenshot_20171101-141804

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

5reactions
rcastillcommented, Nov 1, 2017

Same here! it happened after I cleaned my project’s cache. Really bad timing D:

Any help is appreciated.

photo_2017-11-01_20-37-14

4reactions
rcastillcommented, Nov 2, 2017

Here is a temp solution:

https://github.com/react-community/react-navigation/issues/2853

tl;dr change package.json dependency:

"react-navigation": "git+https://github.com/react-community/react-navigation.git#ed2fc9a09e2f562ae9d3fc7f5df17c593989db0a"

to make sure run npm remove react-navigation && npm install

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - undefined is not a function(evaluating properties ...
It comes from a component that render slate.js object (I'm not rendering the editor but the text). I read that this error can...
Read more >
[Solved] TypeError: undefined is not a function(evaluating ...
[Solved] TypeError: undefined is not a function(evaluating _iterator[typeof Symbol === “function”? Symbol.iterator:”@@iterator”]()').
Read more >
Symbol.iterator - JavaScript - MDN Web Docs
Whenever an object needs to be iterated (such as at the beginning of a for...of loop), its @@iterator method is called with no...
Read more >
Safari TypeError: 'undefined' is not a function (evaluating ...
I have a piece of code in angular2 with TypeScript in which on change of select box dropdown, html table data changes.
Read more >
React Native & React navigation: undefined is not an object ...
undefined is not an object evaluating '_iterator[typeof Symbol === “function” ? Symbol.iterator : “@@iterator”]()”).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found