-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
I keep getting similar errors when building with this repository. I'm not sure if the code I'm using is correct or if it's a configuration issue. Currently, I'm using the main branch...
root@ai-sandbox-e2b:/var/www/dashboard# bun run build
$ bun scripts:check-app-env
$ bun scripts/check-app-env.ts
✅ Environment variables validated successfully
$ next build --turbopack
▲ Next.js 16.0.10 (Turbopack)
- Environments: .env.local
- Experiments (use with caution):
✓ authInterrupts
· serverActions
✓ turbopackFileSystemCacheForDev
✓ useCache
Creating an optimized production build ...
✓ Compiled successfully in 10.2s
Running TypeScript .Failed to compile.
./src/app/dashboard/[teamIdOrSlug]/templates/[templateId]/builds/[buildId]/page.tsx:52:9
Type error: Type '{ status?: "success" | "building" | "failed"; template?: string; startedAt?: number; finishedAt?: number; statusMessage?: string; hasRetainedLogs?: boolean; }' is not assignable to type 'BuildDetailsDTO'.
Property 'template' is optional in type '{ status?: "success" | "building" | "failed"; template?: string; startedAt?: number; finishedAt?: number; statusMessage?: string; hasRetainedLogs?: boolean; }' but required in type 'BuildDetailsDTO'.
50 | <div className="h-full min-h-0 flex-1 p-3 md:p-6 flex flex-col gap-6">
51 | <BuildHeader
> 52 | buildDetails={buildDetails}
| ^
53 | buildId={buildId}
54 | templateId={templateId}
55 | />
Next.js build worker exited with code: 1 and signal: null
error: script "build" exited with code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels