You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Chrome extension bundles the same react-scan code, and that package was being published with target: 'esnext'. The ?. operators that leaked into the bundle could cause runtime errors in older toolchains and have been spotted as the source of similar Preact/internals errors. The build target was lowered to es2019.
If you can re-test with the latest extension build (which embeds react-scan@0.5.5) and still hit the same runtime error, please reopen with the stack trace and I'll dig in further.
Activity
pivanov commentedon Mar 15, 2025
@devth Thank to report this. Is this project poblic (github repo?)?
If we can reproduce this it will help a lot!
devth commentedon Mar 15, 2025
Nope, sorry. Private next.js app.
devth commentedon Mar 15, 2025
Let me know if there's a way to grab a stacktrace or any other helpful debugging info.
pivanov commentedon Mar 15, 2025
@devth can you create simple next app with your setup?
devth commentedon Mar 15, 2025
Maybe, but my next.js app where it repros is a large complex 6 year old app so it'll be very hard to replicate!
RobPruzan commentedon Mar 17, 2025
Are you using react scan in project or react scan monitoring? If so what version
devth commentedon Mar 17, 2025
I'm not sure. I just installed the Chrome extension from https://github.com/aidenybai/react-scan/blob/main/BROWSER_EXTENSION_GUIDE.md and ran it in my localhost dev server.
React Scan 1.0.8
RobPruzan commentedon Mar 17, 2025
Sorry let me clarify, in your project are you already using the react-scan npm package?
devth commentedon Mar 17, 2025
Nope, not using the npm package yet.
huxxhu commentedon Aug 5, 2025
I’m experiencing the same issue, only using the Chrome extension.
Version: 1.0.9
Chromium: 138.0.7204.101
When I open the dev tools, I see a runtime error, which also breaks the React Developer Tools.


aidenybai commentedon May 2, 2026
Likely fixed in v0.5.5 via #437.
The Chrome extension bundles the same
react-scancode, and that package was being published withtarget: 'esnext'. The?.operators that leaked into the bundle could cause runtime errors in older toolchains and have been spotted as the source of similar Preact/internals errors. The build target was lowered toes2019.If you can re-test with the latest extension build (which embeds react-scan@0.5.5) and still hit the same runtime error, please reopen with the stack trace and I'll dig in further.