react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

cannot debug [email protected] project

Open eshikerya opened this issue 8 years ago • 39 comments

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 [email protected]
  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

eshikerya avatar Nov 29 '18 18:11 eshikerya

Got the same error with 0.58.0-rc.1

dluksza avatar Dec 07 '18 19:12 dluksza

Version 0.8.2 still doesn't work with react 0.58

dluksza avatar Dec 25 '18 16:12 dluksza

We have the same issue with latest version of Expo. Moreover, the app won't open with the remote debugger enabled. It works perfectly fine without the remote debugger.

jhwheeler avatar Jan 18 '19 16:01 jhwheeler

Getting the same error with 0.58.0-rc.2

stevenspiel avatar Jan 21 '19 14:01 stevenspiel

Same error. also on just released v0.58.0. Browsers debuggers works, RNDebugger gives above error.

Joepus avatar Jan 25 '19 01:01 Joepus

Getting the same error for 0.58.1

rkram5424 avatar Jan 25 '19 21:01 rkram5424

Getting the same error for 0.58.0

Tim1023 avatar Jan 25 '19 22:01 Tim1023

Getting the same error for 0.58.0

app

gostrafx avatar Jan 25 '19 23:01 gostrafx

same error for RN 0.58.1

pjay79 avatar Jan 25 '19 23:01 pjay79

The same "react-native": "0.58.1"

Alekseyideas avatar Jan 26 '19 06:01 Alekseyideas

same error RN 0.58.1 image

zunsakai avatar Jan 26 '19 10:01 zunsakai

same issue in 0.58

mukeshmandiwal avatar Jan 26 '19 12:01 mukeshmandiwal

Confirm 0.58.1 same

Eugnis avatar Jan 26 '19 15:01 Eugnis

Same error 0.58.1

theharness avatar Jan 27 '19 00:01 theharness

Same, 0.58.1

dmitryrn avatar Jan 27 '19 08:01 dmitryrn

I've find out that in 0.58 delta patcher was updated so this issue appeared. I've fixed it by myself and added PR #307 so check it out if it works for you (clone fork, npm run build && npm run start) For me it works on Windows and Android, should work on others

Eugnis avatar Jan 27 '19 10:01 Eugnis

the same situation

"react": "16.6.3",
"react-native": "0.58.1",
Uncaught (in promise) TypeError: Iterator value v is not an entry object
    at new Map (native)

Baskerville42 avatar Jan 27 '19 17:01 Baskerville42

Same Error: "react": "16.6.3", "react-native": "0.58.1",

rikardocorp avatar Jan 28 '19 04:01 rikardocorp

I've find out that in 0.58 delta patcher was updated so this issue appeared. I've fixed it by myself and added PR #307 so check it out if it works for you (clone fork, npm run build && npm run start) For me it works on Windows and Android, should work on others

It works for me on macOS Mojave, RN 0.58.1, Xcode 10 and iOS 11.2. Bad part is that I'm unable to debug async storage when using showAsyncStorageContentInDev() I get TypeReference error showAsyncStorageContentInDev is undefined when trying to run it.

glothos avatar Jan 28 '19 14:01 glothos

Same error

"react": "16.7.0",
"react-native": "0.58.2",
Uncaught (in promise) TypeError: Iterator value v is not an entry object
    at new Map (native)

ithustle avatar Jan 28 '19 17:01 ithustle