Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork373
Open
Description
To Reproduce
$npmrunstart>test-app@0.0.0start>nextstart▲Next.js15.0.2-Local:http://localhost:3000✓Starting...Error:Couldnotfindaproductionbuildinthe'.next'directory.Trybuildingyourappwith'next build'beforestartingtheproductionserver.https://nextjs.org/docs/messages/production-start-no-build-idatsetupFsCheck(D:\asdsadsa\GitHub\poc\test-app\node_modules\next\dist\server\lib\router-utils\filesystem.js:149:19)atasyncinitialize(D:\asdsadsa\GitHub\poc\test-app\node_modules\next\dist\server\lib\router-server.js:65:23)atasyncServer.<anonymous>(D:\asdsadsa\GitHub\poc\test-app\node_modules\next\dist\server\lib\start-server.js:266:36)
Current vs. Expected behavior
Following the previous steps it should start the project and host it on port :3000, but it fails stating that next is unable to find the build directory. You dont encounter this issue when running in development mode.
Provide environment information
Operating System: Platform: win32 Arch: x64 Version: Windows 11 Pro Available memory (MB): 16252 Available CPU cores: 16Binaries: Node: 23.0.0 npm: N/A Yarn: N/A pnpm: 9.11.0Relevant Packages: next: 15.0.2 // Latest available version is detected (15.0.2). eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.3Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Core, CLI (create-fumadocs-app)
Additional context
This issue has been encountered in these OS: Windows 11 23H2 / 10, Linux (Ubuntu 22.04.4 LTS), it happened when migrating from the older"fumadocs-core": "13.4.10",
, "next": "^14.2.8",
version to the latest one.