Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Could not find a production build in the '.next' directory on Node.js 23 #1021

Open
Labels
bugSomething isn't workingupstream
@IMXNOOBX

Description

@IMXNOOBX

To Reproduce

  1. Create a new appnpm create fumadocs-app
    image

  2. Move to the directorycd test-app
    image

  3. Execute build commandnpm run build
    image

  4. Execute start commandnpm run start
    image

$npmrunstart>test-app@0.0.0start>nextstartNext.js15.0.2-Local:http://localhost:3000Starting...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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp