Deadpool.MathBoy
TTCTheo's Typesafe Cult
•Created by Elite on 3/21/2024 in #questions
invalid env vars with drizzle and neondb
Every call to process.env fails and needs the path to be specified so the only way it works if it this is added at the beginning of the program:
import {config} from 'dotenv';
config ({
path: '.env',
});
7 replies