Rob Dunn @robdunn.dev · Jan 1

my #Angular 19 app has a runtime R3InjectionError in production build only, cant debug at all, nothing points in the right direction, works in dev correctly. Anyone who knows or has worked on something like this please reach out, I'm pulling out my non-existent hair over here!

1 likes 2 replies

?

Replies

Rob Dunn · Jan 1

Should not that I can't replicate at all in dev, source maps don't show up the missing module. At this point I'm so glad I didn't push to prod and just kill my whole business

Ricky · Jan 1

Never encountered that specific dependency injection error before. I would assume that 'Ji' is minified. It would probably help if you could see the error stack unminified. Can't you use an error tracking tool (e.g. Sentry) to further inspect the issue?