Environment variable is undefined
.env files are never uploaded, so the app only sees variables set on EasyHost, and only after a new build.
The error
process.env.DATABASE_URL is undefined
Why it happens
.env files are never uploaded, so the app only sees variables set on EasyHost, and only after a new build.
How to fix it
Import your variables, then redeploy.
ezhst env import .env ezhst redeploy
Still stuck
Read the build log and runtime logs, or browse all errors.
Start for free
Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.
npx ezhst skill install