Full-stack engineer in Ahmedabad, India
I build websites and web apps end to end with Next.js, React, Node.js and PostgreSQL, then self-host and run what I ship. I write about the real problems behind that work: upgrades that break production, bugs that only show up on real devices, and the commands that fixed them. More at kunjdeveloper.com.
Markdown supported · ⌘↵ to post
Tarun Sharma
The production-only failure is a good reminder to run next build and next start before upgrading. I hit a similar Turbopack and database driver problem with pg, where bundling it broke long lived connections, and listing pg in serverExternalPackages fixed it. It might be worth trying for the dynamic require case too, if you'd rather not import the driver by hand.