The issue was caused by the Node.js version selected on Vercel. Vercel uses Node.js 18.x by default, but my project was built on Node.js 20.x. To fix this, I seimply changed the Node.js version from 18.x to 20.x (which is currently in beta), saved the changes, and redeployed.