Broken Project. #811

Closed
opened 2025-11-09 09:58:56 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @smoressy on GitHub (Apr 26, 2025).

problem description

C:\Users\Admin\cobalt\api\src.env
Why am I getting this error????
C:\Users\Admin\cobalt\api\src>pnpm start

@imput/cobalt-api@10.9.3 start C:\Users\Admin\cobalt\api
node src/cobalt

API_URL env variable is missing, cobalt api can't start.

My env literally says this:
API_URL=http://localhost:9000/

???

your instance configuration

API_URL=http://localhost:9000/
Originally created by @smoressy on GitHub (Apr 26, 2025). ### problem description C:\Users\Admin\cobalt\api\src\.env Why am I getting this error???? C:\Users\Admin\cobalt\api\src>pnpm start > @imput/cobalt-api@10.9.3 start C:\Users\Admin\cobalt\api > node src/cobalt API_URL env variable is missing, cobalt api can't start. My env literally says this: API_URL=http://localhost:9000/ ??? ### your instance configuration ```shell API_URL=http://localhost:9000/ ```
GiteaMirror added the instance hosting help label 2025-11-09 09:58:56 -06:00
Author
Owner

@wukko commented on GitHub (Apr 26, 2025):

the project isn't broken. the env variable file is .env, not src.env, and you have to put it in api/ directory.

@wukko commented on GitHub (Apr 26, 2025): the project isn't broken. the env variable file is `.env`, not `src.env`, and you have to put it in `api/` directory.
Sign in to join this conversation.