Vercel Preview Build Error

The preview environment on vercel is not building next js throwing error Module not found: Package path ./v3 is not exported from package /vercel/path0/node_modules/zod (see exports field in /vercel/path0/node_modules/zod/package.json)

Based on the error, it looks a problem with how your project imports from zod.

Look for any imports like import ... from 'zod/v3' or similar. The correct import should typically be import { z } from 'zod'. And try running npm update zod to update to the latest compatible version. You may also need to look in your package.json for any packages that might be importing an incompatible version of zod

Hey @ngoiyaeric! :blush: Just checking in to see if you still need help with that Vercel preview build error. Have you had a chance to look into the imports from zod? If you found a solution or still need assistance, I’m here to help if you need anything! :glowing_star::flexed_biceps: Let’s figure this out together!

Yes I fixed it. Now I’m trying to fix vercel auth google sign in error