MyApp

Getting Started

IntroductionInstallationPull Updates
Architecture

Setup

IDEAI AgentsMCP ServersEnvironment Variables

Workflow

Git WorkflowBuild & DeployTroubleshooting

Authentication

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Payments

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Supabase

OverviewSetup & ConfigurationTroubleshooting

Database

Database SetupPrisma ORMUsage & IntegrationMigrationsTroubleshooting

Storage

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Emails

OverviewSetup and ConfigurationUsage and IntegrationTroubleshooting

SEO

OverviewConfiguration & Best PracticesCustomization & Optimization

UI

OverviewSetup and ConfigurationThemingTroubleshooting
MyApp

Troubleshooting

Common issues, error messages, and solutions for development and production

Quick reference for resolving common issues in Plainform. Issues are organized by category for fast lookup.

Development Server

Environment Variables

Database & Prisma

Authentication (Clerk)

Payments (Stripe)

Build & Deployment

Content & MDX

Styling & UI

Performance

Email (Resend)

Storage (AWS S3)

Getting Help

If you can't resolve an issue:

  1. Check logs:

    • Browser console (F12)
    • Terminal output
    • Vercel function logs
    • Stripe Dashboard logs
  2. Search documentation:

    • Next.js Docs
    • Clerk Docs
    • Stripe Docs
    • Prisma Docs
  3. Debug systematically:

    • Isolate the issue
    • Check one integration at a time
    • Test in isolation
    • Compare with working examples
  4. Common debugging commands:

    Common debugging commands
    # Clear all caches
    rm -rf .next node_modules package-lock.json
    npm install
    npm run dev
    
    # Check environment
    npm run build
    npx prisma db pull
    npx prisma generate
    
    # Test integrations
    npm run stripe:listen
    npx prisma studio

Most issues are resolved by restarting the dev server, clearing caches, or verifying environment variables.

Next Steps

  • Build & Deploy - Production deployment guide
  • Git Workflow - Commit and push best practices
  • Environment Variables - Detailed variable configuration

How is this guide ?

Last updated on

Build & Deploy

Local builds, production deployment, and Vercel configuration

Overview

Clerk authentication integration in Plainform with custom flows, middleware protection, and OAuth support.

On this page

Development Server
Environment Variables
Database & Prisma
Authentication (Clerk)
Payments (Stripe)
Build & Deployment
Content & MDX
Styling & UI
Performance
Email (Resend)
Storage (AWS S3)
Getting Help
Next Steps