ARCHE
FamiliesDocsExamplesBlogGitHub ↗
Documentation

Start

  • Getting started
  • Philosophy

Guides

  • First hour
  • Agent context
  • Verification
  • Package managers
  • Scaffold lifecycle
  • Showcase & portfolio

Walkthroughs

  • TypeScript fullstack
  • Convex product
  • Rust API & fullstack
  • Solana family
  • Customize & experiments
  • Automation (JSON/MCP)

CLI

  • Overview
  • Flags
  • Subcommands
  • Generated output

Presets

  • Preset catalog

Stack

  • TypeScript architecture
  • Convex
  • Rust
  • Solana
  • Authentication
  • Prisma store
  • tRPC

Operations

  • Deployment
  • Environment variables
  • Workers & queues
  • CI & testing
  • Scaling
  • Security
  • Troubleshooting

Reference

  • Stack links
  • Capabilities
  • This source repo
  • Code examples
← Documentation

Troubleshooting

Common scaffold, dev, and deploy failures—and where to look next.

1 min read

Scaffold / install

ProblemCheck
CLI not foundRun from Arche repo: bun run dev:cli --
Invalid preset combobun run dev:cli -- validate '<json>'
Mixed lockfilesOne of Bun or pnpm; see Package managers
Output inside template repoUse --dir=../projects

Local dev (TypeScript fullstack)

ProblemCheck
Prisma errorsDATABASE_URL, bun run db:migrate
tRPC failed to fetchNEXT_PUBLIC_API_URL, API running, CORS
Auth redirect loopBETTER_AUTH_URL, FRONTEND_URL alignment
Turbo task missingRegenerate turbo.json or run from package root

Convex

ProblemCheck
Convex dev not connectednpx convex dev in apps/web
Stale functionsDeploy or push schema per Convex CLI output

Deploy

ProblemCheck
502 on APIHealth route, DATABASE_URL, container logs
Web works, API 401Cookie domain, HTTPS, auth env on both hosts

Canonical deep guide

Template repository: docs/troubleshooting.md

Generated .docs/ may add host-specific notes after --deployment=....

Next steps

  • Environment variables
  • Deployment
  • First hour