react-native-debugger: cannot debug react-native@0.58.0-rc.0 project
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:
- create project with
react-native init testDebuggerIssue - upgrade to 0.58.0-rc.0 by
yarn upgrade react-native@0.58.0-rc.0 - start project in iOS emulator ```react-native run-ios``
- start
react-native-debugger - select
Debug JS Remotelyin emulator - open js console to see the error
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 42
- Comments: 39 (2 by maintainers)
I just close and reopen debugger and works.
I just downloaded the latest version of the debugger and it fixed the problem for me.
For the lazy person like me who just wants the damn fix, to re-install react-native-debugger, run:
brew cask reinstall react-native-debuggerCan you please fix this error already…
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
Confirm 0.58.1 same
Version
0.8.2still doesn’t work with react0.58i solve the problem by download newest debugger vision
Thanks a lot
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:8044 at <anonymous> (anonymous) @ bundle.js:9
@OriginLive Or you fix it. It’s open source software.
@glothos Could you add that comment in the PR?
@Eugnis Nice find! I’ll watch the PR.
Getting the same error with
0.58.0-rc.2Got the same error with
0.58.0-rc.1@elizalc Haha, sometimes the simplest solution is the right solution. I was debugging one app, then switched to another and got this error. Thanks 😉
Getting the same error for 0.58.0
@stenmuchow thanks it’s worked for me
+1 download newest version works!
I am getting the same error on debugging
@wmoore98 I just use the default debugger. When we choose debug js remotely. I don’t know if is this debugger you’re talking about. Could you show a print of yours?
I had the debugger opened and selected the menu option
RND -> Check for Updates..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.The same “react-native”: “0.58.1”
Getting the same error for 0.58.0