Skip to content

Dockerfile build for Next.js fails to compile #99

@cobolbaby

Description

@cobolbaby

Notes on Prisma + TypeScript Build Issues

  1. @prisma/client version requirement

    • The latest versions of @prisma/client require Node.js 22.x or above.
    • Running Prisma on Node.js 20 will trigger warnings or errors.
  2. TypeScript compilation requirement

    • The tsconfig.json must set noImplicitAny: true.
    • Otherwise, running npm run build will fail on any non-strict type usage, causing the build to exit immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions