-
Notifications
You must be signed in to change notification settings - Fork 47k
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
[DevTools Bug] Cannot add node "1" because a node with that id is already in the Store. #23035
Comments
I'm also getting this error! |
Hope It will be resolved soon. Do you have this problem on Mac with M1? |
I'm also getting this. Dev Environment: Windows 11 |
Dev Environment: Linux packages.json |
Bump. Win 10 - Target: Android Emulator, Pixel 2, API 30 [Info] node -v 16.13.1 Fresh Expo from (04/01/2022) and RND 0.12.1 (downloaded by 05/01/2022) "dependencies": { [UPDATE] |
I'm also getting this error! Any progress in fix or some temporary solution? |
I have a bug missing, after all packages have been updated and changed to flipper devtools |
i am using react-native-debugger 0.12.1 and have some issue, it keep complaint react-devtools-core version;( i can workaround it by:
|
I'm also receiving this error, both with this package(@latest, v4.22.1) and in react-native-debugger v0.12.1. Here are my findings after combing through this issue, issue #21636, and a couple indirectly relevant SO questions: Those of you using NPM and encountering this in RNDebugger seem to be out of luck until another version is released, as it still uses React DevTools v4.14, whose compatibility is out of sync with react-devtools-core. I'll see if I can raise an issue or something in that repo to help get it back on track. NPM hasn't had a equivalent to yarn's "resolutions" which has been noted as a workaround above, but according to the bottom answer of this SO thread, it allegedly arrived as "overrides" in npm v8.3. I haven't upgraded nor tested this, but it may be worth taking a shot and seeing if it works. For those of you wanting to try this route, see the relevant portion of the npm docs here I can however get the react-devtools package to work by bumping up my global installation of react-devtools-core to the latest v4.22.1, same as react-devtools. This just leaves us with the Profiler and Components tabs of React devtools, instead of RNDebugger's extra redux devtools and plain devtools integration, which is unfortunate but it's better than nothing. For those of you like me who are brand new to React Native and these various standalone devtools outside the browser, have a look at how to customize the port that the react-devtools package listens to if your project's dev environment doesn't listen to the default port 8097. |
@paulyiu-gammon 's quickfix worked for me! thanks. Note that |
I realized that upgrading react-devtools-core >= 4.22.0 breaks react-native-debugger. Minimal reproductive sample (zip) This sample works fine with debugger at first. (it uses react-devtools-core v4.21.0)
|
I'm sorry you experienced this bug! 🙇 Looks like this problem was already reported though (#21636) so I'm going to mark this issue as a duplicate and close it. If you have additional context that might help us repro this problem, please leave a comment on the other issue! Thank you~ |
Website or app
It's empty project creating with 'react-native init'
Repro steps
How often does this bug happen?
Every time
DevTools package (automated)
react-devtools-core
DevTools version (automated)
4.14.0-d0ec283819
Error message (automated)
Cannot add node "1" because a node with that id is already in the Store.
Error call stack (automated)
Error component stack (automated)
No response
GitHub query string (automated)
The text was updated successfully, but these errors were encountered: