Skip to content

bun x next-forge init fails when building @repo/database with Bun #678

@MrTob

Description

@MrTob

Describe the bug
Initializing a new Next-Forge project with Bun (bun x next-forge@latest init) fails during the ORM setup step while building @repo/database. The build script exits with code 1.

next-forge version
Latest

To Reproduce
Steps to reproduce the behavior:

  • Run bun x next-forge@latest init.
  • Enter project name, e.g., pocketflow.
  • Choose bun as the package manager.
  • Wait for the setup to reach the ORM installation/build step.
  • Command failed: bun run build --filter @repo/database │ $ turbo build --filter @repo/database │ turbo 2.6.3 │ │ @repo/database:build: ERROR: command finished with error: command

Expected behavior
The project should finish initializing successfully without errors.

Desktop:

  • OS: Windows
  • Package manager: Bun

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions