Castintech|Developer Environment
Back to LoginConfiguration Error

Missing Environment Variables The application cannot start — 9 required variables are not configured.

Required Variables

9 missing

FB_APP_ID

Facebook App ID for the application

FB_APP_SECRET

Facebook App Secret — keep out of source control

FB_GRAPH_API_VERSION

Facebook Graph API version to use (e.g., v19.0)

FB_VERIFY_TOKEN

Facebook Webhook Verify Token

APP_BASE_URL

Base URL of the application (e.g., http://localhost:3000)

SESSION_SECRET

Random string (32+ chars) used to sign session cookies

POSTGRES_URL

PostgreSQL connection URL

TP_CONTACT_EMAIL

Contact email displayed in the application

How to Fix

  1. 1Create a .env.local file in your project root directory
  2. 2Add the missing environment variables listed on the left
  3. 3Restart your development server

>_Quick Start

Copy the example env file and fill in your values:

cp .env.example .env.local

Then restart:

npm run dev
View Setup Documentation