mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-10-30 18:24:05 +08:00
`fs.cpSync` in `copyChapterAssets` terminates the Node process on Windows with Node 22. Running `npm run extract` (the `predev` hook of `npm run dev`) prints "Source: root chapter folders (17)" and then exits with STATUS_STACK_BUFFER_OVERRUN (exit code 0xC0000409) without any JS-level error, so the course data is never written and the dev server never starts. Replace it with a small recursive copy helper built on `fs.readdirSync` + `fs.copyFileSync`, which is what `fs.cpSync` does internally minus the native path that crashes here. Verified on Windows 11 / Node v22.20.0: - before: exit 0xC0000409, extraction aborted, no course-assets output - after: exit 0, "17 versions / 16 diffs / 51 docs", 74 asset files written
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.