[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# next-forge initialization fails during ORM setup in Turborepo monorepo

21 views · 0 likes · 1 post


Segal G. (@sxgvl) · 2026-03-04

### Current Behavior

I’m trying to initialize a new project using the **Production-grade Turborepo template for Next.js apps (Monorepo 2026)** via:

```bash
npx next-forge@latest init
```

The initialization process starts correctly, but fails during the ORM setup step with the following error:

**Error:**
```bash
Setting up ORM.
Command failed: pnpm run build --filter @repo/database
turbo 2.6.3

@repo/database:build: ERROR: command finished with error: command (/Users/.../packages/database) pnpm run build exited (1)
@repo/database#build: command (/Users/.../packages/database) pnpm run build exited (1)
ERROR run failed: command exited (1)

Canceled
```

The project scaffolding completes partially, but the monorepo is unusable locally due to multiple build errors in the `@repo/database` package.

***

### Expected Behavior

The command `npx next-forge@latest init` should:

*   Scaffold a fully working `Turborepo` 
*   Successfully set up the ORM
*   Allow `pnpm dev` to run without fatal build errors
*   Provide a production-ready monorepo as advertised

***

### Additional Context

It appears that:

*   The official website is no longer maintained
*   Documentation is outdated
*   Community discussions date back to 2024
*   We’re now in 2026, and things seem broken with current tool versions

It looks like the template may not be compatible anymore with:

*   Latest `pnpm` (10.x)
*   Latest `turbo` (2.6.3)
*   Latest `Next.js` (15+?)

***

### Project Information

*   **Framework:** `Next.js` 
*   **Monorepo Tooling:** `Turborepo` 
*   **Package Manager:** `pnpm` 
*   **Initialization CLI:** `next-forge@latest` 
*   **OS:** macOS (Apple Silicon)
*   **Node version:** (please confirm, but likely v20+)
*   **Turbo version:** 2.6.3

***

### Steps to Reproduce

1.  Run: `npx next-forge@latest init` 
2.  Choose a project name
3.  Select `pnpm` 
4.  Wait for ORM setup
5.  Build fails at `@repo/database` 

***

### Questions

*   Is this template still maintained?
*   Is it compatible with current versions of `Next.js` / `turbo` / `pnpm` ?
*   Is there a recommended alternative production-grade monorepo template?
*   Should specific versions of `Node` / `pnpm` be used?

***

Thanks in advance ![:folded_hands:](https://emoji.discourse-cdn.com/unicode/folded_hands.png?v=15 ":folded_hands:")

I’d really appreciate clarification since this template is still being surfaced as a production-grade solution.