The error on my end was only running npm build locally, as i was using vercel - after hours trying to fix with claude - i just tried to straight run vercel --prod and it build on vercel correctly