Skip to content

Commit f69d83d

Browse files
committed
Update docs/troubleshooting.md
1 parent 2c9fb90 commit f69d83d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/troubleshooting.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ If you're using React Native version >= 0.62 and keep React Native Debugger as t
66

77
In your app project, upgrade `react-devtools-core` dependency to match the React DevTools version:
88

9-
- OPTION 1: Just `yarn upgrade react-native`
10-
- OPTION 2: Delete `react-devtools-core` block in yarn.lock, then re-install dependencies by `yarn`
9+
- Use [yarn resolutions](https://classic.yarnpkg.com/en/docs/selective-version-resolutions/), just add `"react-devtools-core": "~4.13.5"` (Depends on the display version of React DevTools) to resolutions of `package.json`.
10+
11+
Reference: [Unsupported DevTools backend version - # React Native Debugger](https://gist.github.com/bvaughn/4bc90775530873fdf8e7ade4a039e579#react-native-debugger)
1112

1213
## Network fetch got issue like [`SyntaxError: Unexpected token o in JSON at position 1`](https://github.com/jhen0409/react-native-debugger/issues/382#issuecomment-544226529) if Network Inspect enabled
1314

0 commit comments

Comments
 (0)