# `Type error: Property '…' does not exist on type '…'.`

**Where it appears:** Vercel build logs or terminal

**What it means:** TypeScript caught a mismatch between what a piece of data actually contains and what the code expects.

## Likely causes

- Code was pushed without running the type check (`npx tsc --noEmit` or `npm run build`) locally first.
- A database query or component prop changed shape in one file while another file still uses the old field name.

## Message for your agent

```text
The Vercel build failed with a TypeScript `Type error`. Read the build logs, fix the type mismatch, run type check and lint locally, and push again.
```

**Prevention:** Always run lint, type check and tests locally before pushing a branch.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/errors/type-error-property-does-not-exist-on-type) · License: CC BY 4.0
