Hono monorepo cant access env variables
1danii
HOBBYOP
3 months ago
https://github.com/1danii/railway-hono-test
Trying to access env variables from the hono app, works locally but not on railway. Using railpack
Build command:
bunx turbo run build --filter=server
Deploy command:
bunx turbo run start --filter=server
Pinned Solution
3 months ago
In Turborepo, env vars are NOT available during build by default unless explicitly added to globalEnv in turbo.json.
1 Replies
3 months ago
In Turborepo, env vars are NOT available during build by default unless explicitly added to globalEnv in turbo.json.
Status changed to Solved brody • 3 months ago

