Next.js Discord

Discord Forum

next-forge initialization fails during ORM setup in Turborepo monorepo (2026)

Unanswered
Pigeon tremex posted this in #help-forum
Open in Discord
Pigeon tremexOP
Current Behavior
I’m trying to initialize a new project using the Production-grade Turborepo template for Next.js apps (Monorepo 2026) via:

npx next-forge@latest init

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

Error:
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
Run: npx next-forge@latest init
Choose a project name
Select pnpm
Wait for ORM setup
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 🙏

0 Replies