Next.js: Client-side exception and 404 error for static chunks in production, working fine in development
I am facing a peculiar issue with my Next.js application. The problem appears only in the production environment. In the development environment, everything works fine, but in production, I encounter a client-side exception and 404 errors for some static chunks.