Skip to content
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 "1751" because a node with that id is already in the Store. #26787

Closed
regosen opened this issue May 6, 2023 · 10 comments · Fixed by #26823
Closed
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@regosen
Copy link

regosen commented May 6, 2023

Website or app

local repo

Repro steps

Loading a React component with the React profiler recording enabled

How often does this bug happen?

Every time

DevTools package (automated)

react-devtools-extensions

DevTools version (automated)

4.27.6-7f8c501f6

Error message (automated)

Cannot add node "1751" because a node with that id is already in the Store.

Error call stack (automated)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28581:41
    at bridge_Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26606:22)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26775:14
    at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:57029:39)

Error component stack (automated)

No response

GitHub query string (automated)

https://api.github.com/search/issues?q=Cannot add node  because a node with that id is already in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
@regosen regosen added Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels May 6, 2023
@sandip2224
Copy link

image

Same issue here.

Devtools version: 4.27.6 (4/20/2023)

@joepetrillo
Copy link

Same issue here. Using NextJS 13.4.1

image

@FlyOrDie
Copy link

Same issue here. Happens, when adding @react-three/fiber Canvas element. @react-three/fiber version 8.13.0

Снимок экрана 2023-05-10 в 22 31 40

@apenab
Copy link

apenab commented May 11, 2023

Same issue:
image

@IvanYulin
Copy link

same...
do you all have code for a chrome extension?

@karin-on
Copy link

same with devtools version: 4.27.7 (5/7/2023)

Screenshot 2023-05-11 at 12 46 43

@ghost
Copy link

ghost commented May 12, 2023

I've installed a React profiler via Chrome web store (https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) which created a second copy of an extension under "From other sources" title in extensions panel, after that I've deleted a copy of an react dev tools that was 'native' to edge, and voila, profiler works.

@hoxyq
Copy link
Contributor

hoxyq commented May 15, 2023

Hey folks, the only reproducible example I've found is mentioned in #26797.

I've merged a fix for it, but need more input from you:

  1. If you are constantly facing this issue, can you post here a repro please?
  2. Can you please follow these instructions and try to reproduce this error again?

@brettgoss
Copy link

@hoxyq I am no longer seeing this error after installing the release you linked in #26797 (Created from revision 67a05d03e on 5/12/2023).

@hoxyq
Copy link
Contributor

hoxyq commented May 17, 2023

@hoxyq I am no longer seeing this error after installing the release you linked in #26797 (Created from revision 67a05d03e on 5/12/2023).

Great, thank you! This fix will be included in v4.27.8 release, which I will publish this week.

hoxyq added a commit that referenced this issue May 17, 2023
Closes #26787,
#26793

Includes these changes:
* fix[devtools]: fixed duplicated backend activation with multiple
renderers ([hoxyq](https://github.com/hoxyq) in
[#26807](#26807))
EdisonVan pushed a commit to EdisonVan/react that referenced this issue Apr 15, 2024
Closes facebook#26787,
facebook#26793

Includes these changes:
* fix[devtools]: fixed duplicated backend activation with multiple
renderers ([hoxyq](https://github.com/hoxyq) in
[facebook#26807](facebook#26807))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants