On Prisma documentation said
Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun
to load environment variables from .env files: https://pris.ly/prisma-config-env-vars.
missing this line from config make prisma language server crashed on vscode