ilearnbydoing
ilearnbydoing
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
It does not read .env and when I export all .env variables then too its not starting up
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
Docker works fine production I am trying to setup dev environment for mono repo I followed the official developer guide it does not work while starting with npm run start:prod
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
No description
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
using node v20
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
yes
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
docker build the one provided in production working fine
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
rm -rf dist npx nx reset npm run build npm run start:prod tried again and again
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
then too does not start
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
No description
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
alothough i exported them manually then too start error
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
yes wanna write code. when i run npm run start:prod i am getting ----- [Nest] 2337258 - 10/20/2024, 12:29:10 PM ERROR [PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL. --> schema.prisma:10 | 9 | provider = "postgresql" 10 | url = env("DATABASE_URL") |
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
npm run build
[email protected] build `npx nx run-many --target=build --projects=frontend,backend,workers,cron
βœ” nx run workers:build:production [local cache] βœ” nx run frontend:build:production [local cache] βœ” nx run backend:build:production [local cache] βœ” nx run cron:build:production [local cache] β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” NX Successfully ran target build for 4 projects (559ms) ` Nx read the output from the cache instead of running the command for 4 out of 4 tas
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
working fine but not npm run start:prod
31 replies
PPostiz
Created by Support on 10/19/2024 in #πŸ’­β”‚support-tickets
Ticket: "Production environment does not load .env configuration"
in development using npm
31 replies