N is not a function

I'm at a loss. In the last 5 days, my application has stopped working, and I have been unable to identify the issue. On each page load, we get this image:

https://preview.redd.it/z9b6n6lwxfch1.png?width=713&format=png&auto=webp&s=5316cb26c055509ec47db5e1e7aa9608dbca1541

But when we refresh, the page loads without issue. Go to another page? Same error, refresh, fine, rinse and repeat.

I'm not super savvy on the frontend, but I think that's where I should troubleshoot given the error. The frontend is using Vite, React, TypeScript - I did see a recent update for TypeScript and Vite: https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/ happening in the last week. Not sure if that would affect my project though. We deploy both front and backend on DigitalOcean

Any ideas?? Sorry if I've left any pertinent information out.

Posted Jul 10, 2026, 5:55 PM UTC

24
Loading comments…