-
-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add node "1" because a node with that id is already in the Store. #668
Comments
The same problem |
Same issue. version |
Facing same error. Any updates please? |
In the react-devtools package, I got this all to work by upgrading both react-devtools and react-devtools-core to v4.22.1. If this repo could bump both versions up to put these packages back in sync that should hopefully solve the problem. Until then, I don't think there's a way to use this tool. I have the same error every time I launch, forcing me to go back to just plain react-devtools / browser-based react native debugger which launches with expo. It's a real shame; I love how all of that is integrated in one place with RN-debugger. For now, I just upgraded react-devtools from npm and customized the port it listens to via react-devtools-core, as documented here. Component and Profiler tabs, plus some console.logs is better than nothing I suppose! |
same issue v0.12.1 |
same issue here too |
same issue |
I "npm install"ed (not globally) 'react-devtools' and 'react-devtools-core' and set them to the same version "react-devtools": "~4.14.0", then ran npm install and it worked I think the problem was those packages not being the same version |
On Mac I could not even install react-devtools globally, because of electron. But it finally worked with following options:
so as a work-around you can run |
Installing "'react-devtools" and "react-devtools-core" globally solved this issue by me.
|
facing same issue |
same issue |
Facing the same issue too on pc |
+1 |
Same issue on:
ProblemThe problem occurs due to RemarksWhen starting a project with So when it comes to As stated in https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides, you are able to select different version for dependencies of your dependencies with the "overrides": {
"react-devtools-core": "4.14.0"
} This will do the trick, but to be more precise Solution
"overrides": {
"react-native": {
"react-devtools-core": "4.14.0"
}
} Exact version depends on the ReactNativeDebugger's current IMPORTANT NOTE: Not tested in macOS. |
Or in case you use yarn:
|
on Mac OS (M1) the following fixed it for me:
and, in the app's
|
Fixing react devtools not working properlyhttps://github.com/jhen0409/react-native-debugger/issues/668
Hey everyone!!! |
"overrides" only works on npm version 8.3.0 and above. To update npm, run : npm install -g npm |
For those that don't want to use yarn #620 (comment) |
With React Native Debugger version 0.13.0 and a React Native project in 0.69.4, there is no need to add "overrides" or "resolution" for react-devtools-core in the package.json |
React Native Debugger app version: 0.12.1
React Native version: 0.66.4
Platform: Android + iOS
Is real device of platform: Android real device, iOS simulator
Operating System: macOS
Steps to reproduce:
npx react-native init rnapp
Related issues in https://github.com/facebook/react/:
The text was updated successfully, but these errors were encountered: