Skip to content

.env file not loading in prod #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
ilearnbydoing opened this issue Oct 18, 2024 · 1 comment
Closed
1 task done

.env file not loading in prod #376

ilearnbydoing opened this issue Oct 18, 2024 · 1 comment

Comments

@ilearnbydoing
Copy link

📜 Description

.env not loading in prod
thanks

👟 Reproduction steps

i am using command npm run start:prod after build

👍 Expected behavior

RROR [PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL.
--> schema.prisma:10

👎 Actual Behavior with Screenshots

RROR [PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL.
--> schema.prisma:10

💻 Operating system

Linux

🤖 Node Version

20.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@nevo-david
Copy link
Contributor

For installation problems, please join our discord at: https://discord.postiz.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants