Skip to main content

nextjs-prisma-client-component-import

スター9
フォーク2
更新日2026年3月10日 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.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly