I'm trying to run kysely-codegen with another env variable since DATABASE_URL is already set in my .bashrc for another project.
So I set a DB_URL env variable in a .env
file at the root of my project.
# .env
DB_URL=postgres://...
However, running the following command:
npx kysely-codegen --dialect=postgres --env-file=.env --url=env(DB_URL) --out-file=types/db.ts
I get the following error:
zsh: unknown file attribute: B
Seems like a problem with env(DB_URL)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too