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.

cannot debug react-native@0.58.0-rc.0 project

See original GitHub issue

React Native Debugger app version: 0.8.1 React Native version: 0.58.0-rc.0 Platform: iOS Is real device of platform: No Operating System: macOS

Only in Debug JS Remotely with react-native-debuggershows error in console:

Uncaught (in promise) TypeError: Iterator value v is not an entry object
    at new Map (native)
    at file:///Applications/React%20Native%20Debugger.app/Contents/Resources/app.asar/js/bundle.js:9:8029
    at <anonymous>

in case debugging in chrome browser works as expected

steps to reproduce:

  1. create project with react-native init testDebuggerIssue
  2. upgrade to 0.58.0-rc.0 by yarn upgrade react-native@0.58.0-rc.0
  3. start project in iOS emulator ```react-native run-ios``
  4. start react-native-debugger
  5. select Debug JS Remotelyin emulator
  6. open js console to see the error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:42
  • Comments:39 (2 by maintainers)

github_iconTop GitHub Comments

73reactions
elisealcalacommented, Mar 19, 2019

I just close and reopen debugger and works.

32reactions
wmoore98commented, Feb 14, 2019

I just downloaded the latest version of the debugger and it fixed the problem for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot run android with react-native-camera - Stack Overflow
I can't run project when install this lib. ... What went wrong: Execution failed for task ':react-native-camera:generateGeneralDebugRFile'.
Read more >
Cannot debug a React Native project from WebStorm - YouTrack
Cannot debug a React Native project from WebStorm ... Debugging won't work: Try reloading the JS from inside the app, or Reconnect the...
Read more >
configure project :react-native-reanimated aar for ... - You.com
Gradle detected a problem with the following location: 'C:\someuserpath\frontend\android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output ...
Read more >
Upgrading to new versions - React Native
Expo projects​. Upgrading your Expo project to a new version of React Native requires updating the react-native , react , and expo ...
Read more >
Debugging · React Native
There are some instances where hot reloading cannot be implemented perfectly ... The debugger will receive a list of all project roots, separated...
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