Skip to main content

nextjs-prisma-client-component-import

Sterne9
Forks2
Aktualisiert10. März 2026 um 08:02

Fix "the chunking context does not support external modules (request: node:module)" error in Next.js with Prisma. Use when: (1) Next.js build fails with node:module error, (2) Turbopack shows "chunking context does not support external modules", (3) Client component imports types from @/generated/prisma/client or @prisma/client/runtime/client, (4) Error trace shows "Client Component Browser" importing Prisma types. Root cause: Prisma client includes Node.js-specific code that can't be bundled for the browser.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly