[GH-ISSUE #552] ENV variable undefined in local development #147

Closed
opened 2026-02-26 18:45:34 +03:00 by kerem · 2 comments
Owner

Originally created by @mayukh551 on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/documenso/documenso/issues/552

After running npm run dev, I move to localhost:3000, and it displays this error that there the env variable NEXT_PRIVATE_DATABASE_URL is undefined.

Issue Description

image


How can I fix this? Do I need to install dotenv ?

Originally created by @mayukh551 on GitHub (Oct 11, 2023). Original GitHub issue: https://github.com/documenso/documenso/issues/552 <!--- Please provide a general summary of the issue in the Title above --> After running `npm run dev`, I move to localhost:3000, and it displays this error that there the env variable `NEXT_PRIVATE_DATABASE_URL` is undefined. ## Issue Description ![image](https://github.com/documenso/documenso/assets/82811112/d5b4dd4f-7ff2-4a1c-8843-163e5e54eb35) --- How can I fix this? Do I need to install `dotenv` ?
kerem closed this issue 2026-02-26 18:45:34 +03:00
Author
Owner

@TameemAsim commented on GitHub (Oct 11, 2023):

Please check that env variable NEXT_PRIVATE_DATABASE_URL have the connection string or not.
If no, then please store postgresql db connection string and then proceed according to instructions given in readme file.

<!-- gh-comment-id:1758647208 --> @TameemAsim commented on GitHub (Oct 11, 2023): Please check that env variable NEXT_PRIVATE_DATABASE_URL have the connection string or not. If no, then please store postgresql db connection string and then proceed according to instructions given in [readme file](https://github.com/documenso/documenso/blob/feat/refresh/README.md).
Author
Owner

@mayukh551 commented on GitHub (Oct 12, 2023):

@18feb06
Ok the issue is resolved. Thanks for your help!

<!-- gh-comment-id:1759042331 --> @mayukh551 commented on GitHub (Oct 12, 2023): @18feb06 Ok the issue is resolved. Thanks for your help!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#147
No description provided.