facebook / react

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

[DevTools Bug]: Source map error: URL: react_devtools_backend_compact.js.map #27938

Open Et7f3 opened 8 months ago

Et7f3 commented 8 months ago

Website or app

https://github.com/avenida714/alec-synth/blob/dccf984d89ae44558c70ff93dfa03b1227d5df5b/src/App.jsx#L63-L64C17

Link found on the vite getting started page: https://stackblitz.com/edit/vitejs-vite-zff6zx?file=src%2FApp.jsx&terminal=dev

Repro steps

⚠️ This is not my code (not public) ⚠️. While I searched for this error I stumble upon this repo. I had this issue when adding the plugin for first time.

  1. Open the website
  2. Open console
  3. See the error

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

Nathan-Roberts123 commented 7 months ago

I opened the https://github.com/avenida714/alec-synth/blob/dccf984d89ae44558c70ff93dfa03b1227d5df5b/src/App.jsx#L63-L64C17 project and ran it. The only error i saw was "Oscillator node error: cannot call start more than once" when ever i clicked on start button more than once, and i fixed it like like this: Screenshot (148)

Et7f3 commented 7 months ago

Thanks for testing but I still have the error:

go on this page: https://github.com/avenida714/alec-synth/tree/dccf984d89ae44558c70ff93dfa03b1227d5df5b image wait one minute that codespace setup image image open console go on react components tab touch some components (I don't know if it is because I touched or because I waited ~ 1 minute) return to the console image

MasterRedStorm commented 3 months ago

same here, iam not sure how to fix that

jasperdunn commented 1 month ago

Also happening for me on a Remix app

It effects Next.js as well. I assume it effects vanilla React too.

jasperdunn commented 1 month ago

Okay, so I just uninstalled the react devtools extension and reinstalled it, the errors have stopped 🤷🏼