not able to run npx drizzle-kit studio

Hi all, When I am running the cmd npx drizzle-kit generate it's working fine but when I am using cmds like npx drizzle-kit studio and npx drizzle-kit migrate it's not working. TIA https://github.com/Boby900/yogurt
GitHub
GitHub - Boby900/yogurt
Contribute to Boby900/yogurt development by creating an account on GitHub.
No description
Solution:
adding
import dotenv from "dotenv";
dotenv.config({ path: ".env.local" });
import dotenv from "dotenv";
dotenv.config({ path: ".env.local" });
in dirzzle.config.ts fixed it...
Jump to solution
1 Reply
Solution
Boby
Boby7mo ago
adding
import dotenv from "dotenv";
dotenv.config({ path: ".env.local" });
import dotenv from "dotenv";
dotenv.config({ path: ".env.local" });
in dirzzle.config.ts fixed it
Want results from more Discord servers?
Add your server