-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
When trying to implement the claude code server in the next.config:
import { startServer } from "@react-grab/claude-code/server";
if (process.env.NODE_ENV === "development") {
startServer();
}But as soon as adding this I get this error:
bun dev
$ next dev --port=3000
⨯ Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
Error: Dynamic require of "child_process" is not supported
at ignore-listed frames
error: script "dev" exited with code 1Metadata
Metadata
Assignees
Labels
No labels