getsentry / getsentry/sentry-javascript

TypeError: dispatcher.getOwner is not a function on RR7+React19

Aperta
#17,278 9 commenti 7 reazioni 0 assegnatari Vedi su GitHub
Bug
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

[https://discord.com/channels/621778831602221064/1400566232754688161/1400566232754688161](https://discord.com/channels/621778831602221064/1400566232754688161/1400566232754688161)

> using sentry/react-router 10.0.0, react router 7.5.3 and react 19.1.0 i get this error in the prod build. any ideas what could be going wrong? some sort of react version mismatch?

Works after you set `NODE_ENV=production`

Related issue: [https://github.com/remix-run/react-router/issues/12138](https://github.com/remix-run/react-router/issues/12138)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.