Closed 0xmbadr closed 3 months ago
Did you symlink the env file as per the documentation? https://orbitkit.dev/installation#configuring-environment-variables
# Copy the .env.example file into a .env.local file.
cp ./apps/web/.env.example ./apps/web/.env.local
# You will also need to symlink that file into the packages/db directory as a `.env` file.
cd packages/db && ln -s ../../apps/web/.env.local .env
I didn't. This apparently solves it. Thank you.
Describe the bug I am trying to run the template locally. however, after creating
.env.local
inapps/web
and runningbun turbo build
an issue ofInvalid environment variables
has shown up.Apparently,
DATABASE_URL
is not accessible during executingdrizzle-kit generate
command.To Reproduce Steps to reproduce the behavior:
bun install
.env.local
inapps/web
and fill it (make sure to fill all required variables, especiallyDATABASE_URL
)bun turbo build
Expected behavior The project should be successfully built.
Additional context