Terminal Result Demo | AI SDK Agents
$
pnpm db:migrate
3.2s
Copy
Run again
> ledger@2.4.0 db:migrate
> drizzle-kit migrate
Reading config file 'drizzle.config.ts'
Using 'pg' driver for database querying
✓
0007_add_invoice_due_date.sql
✓
0008_backfill_due_dates.sql
✓
0009_index_invoices_customer.sql
3 migrations applied
$
pnpm typecheck
4.1s
Copy
$
pnpm build
Exit 1
18s
Copy
20 earlier lines
Failed to compile.
./src/app/invoices/[id]/page.tsx:41:27
Type error:
Property 'dueOn' does not exist on type 'Invoice'. Did you mean 'dueDate'?
39 | const invoice = await getInvoice(id);
40 | return (
>
41 | <DueBadge date={invoice.dueOn} />
|
^
ELIFECYCLE
Command failed with exit code 1.