ITADN

Build error on provided template

#3259Closedzagoorland 创建于 2026-05-10
bug
Z
zagoorlandcommented
### To Reproduce 1. Use npm create fumadocs-app ◇ Project name │ fuma │ ◇ Choose a template │ Next.js: Fumadocs MDX │ ◇ Use `/src` directory? │ No │ ◇ Configure linter? │ Oxlint │ ◇ Choose a search solution? │ Default │ ◇ Configure Open Graph Image generation? │ next/og │ ◇ Configure AI Chat? │ No │ ◇ Do you want to install packages automatically? (detected as npm) │ Yes │ ◇ Project Generated │ └ Done 2. run npm run dev 3. launch http://localhost:3000/docs 4. Visible error: ``` Error evaluating Node.js code Error: Cannot find package 'vite' imported from /Users/zagoor/Documents/random/fuma/node_modules/fumadocs-mdx/dist/vite/index.mjs ``` ### Current vs. Expected behavior Should not error out ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:55 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 24.15.0 npm: 11.12.1 Yarn: N/A pnpm: 11.0.9 Relevant Packages: next: 16.2.6 // Latest available version is detected (16.2.6). eslint-config-next: N/A react: 19.2.6 react-dom: 19.2.6 typescript: 6.0.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Core ### Additional context _No response_
关闭于 2026-05-10 3 条评论