Error TS2307: Cannot find module while deploying

I cloned repo and then did a deployment onto Cloudflare worker for staging server. Server will not run live until this issue is resolved. I ran the command npm run frontend: build and it outputs the following error:

enter image description here

Seems like it is unable to import data from Zod validation module. Has anyone experienced a problem like this as I am not able to troubleshoot and figure this out.