© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
DJ Scruggs
Software engineer
I was getting an error finding DATABASE_URL. I was able to fix by changing pretest:i in package.json to:
npm run db:up && dotenv -e .env.test -- npx prisma migrate deploy
Requires installing dotenv with npm i dotenv