HarperFast / HarperFast/harper
dotenv .env file not loaded when component is deployed to a server
Open
area:components
bug
from-jira
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 10
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 200
Description
## Problem
`dotenv` successfully loads `.env` locally but does not load it when the component is deployed to a remote Harper server. Environment variables defined in `.env` are unavailable at runtime on the deployed instance.
The `loadEnv` built-in component (`hdb_env` system table) is the long-term solution (CORE-2695), but in the interim `dotenv` should behave consistently between local and deployed contexts.
🤖 Filed by Claude on behalf of Kris.
Contributor guide
Assessment
This issue has not been assessed yet.