facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
227.32k stars 46.37k forks source link

[DevTools Bug] Cannot add node "1" because a node with that id is already in the Store. #30607

Open arvindhcm opened 1 month ago

arvindhcm commented 1 month ago

Website or app

local repo

Repro steps

just loaded the local react app

How often does this bug happen?

Every time

DevTools package (automated)

react-devtools-extensions

DevTools version (automated)

5.3.1-ccb20cb88b

Error message (automated)

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

Error call stack (automated)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1172435
    at v.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1141877)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1143565
    at bridgeListener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1551564)

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
Marvinrose commented 1 month ago

Hello, I’m interested in working on this issue. Before I do so, I wanted to check if anyone is currently working on it or if there are any ongoing discussions that I should be aware of. If it's available, I’d love to take a look and contribute. Please let me know! Thanks!

eric-gitta-moore commented 1 month ago

+1 I'm followed https://zh-hans.react.dev/learn/react-developer-tools#safari-and-other-browsers

Uncaught Error: 
Cannot add node "1" because a node with that id is already in the Store.
The error was thrown 
at /Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:1043404
    at f.emit (/Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:989541)
    at /Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:991083
    at /Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:1392030
    at Array.forEach (<anonymous>)
    at e.onmessage (/Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:1392013)
    at H.s (/Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:404466)
    at H.emit (node:events:513:28)
    at e.exports.B (/Users/admin/.nvm/versions/node/v20.14.0/lib/node_modules/react-devtools/node_modules/react-devtools-core/dist/standalone.js:2:438611)
    at e.exports.emit (node:events:513:28)
stealth90 commented 2 weeks ago

+1

ramansaini14 commented 1 week ago

+1

Not-James-Bond commented 1 week ago

+1 .Facing this with Firefox.

Uncaught Error: Cannot add node "1" because a node with that id is already in the Store.

The error was thrown emit@moz-extension://35d01427-9a13-4135-8eff-8ba691c5a227/build/main.js:1:1141877 v/this._wallUnlisten<@moz-extension://35d01427-9a13-4135-8eff-8ba691c5a227/build/main.js:1:1143565 bridgeListener@moz-extension://35d01427-9a13-4135-8eff-8ba691c5a227/build/main.js:1:1551393

jasperfernandez commented 3 days ago

+1 Facing this with Microsoft Edge

konoufo commented 2 days ago

+1

KunalSukhija-Fareye commented 15 hours ago

+1 facing in Google Chrome

RPSingh0 commented 8 hours ago

+1 Facing this issue in Microsoft Edge