Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
.env file not working in production build - Nuxt
N
Nuxt
•
10mo ago
•
20 replies
Thick Black W
.env file not working in production build
This is my first nuxt project
. The
.env file isn
't being passed to the production build
. From what I understood
, I have to map the
.env manually to the nuxt
.config
, is that correct
? Also I set the NITRO
_PORT in
.env and that isn
't passed either
.
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Cant get correct value in production env, but working in test env
N
Nuxt / ❓・help
3y ago
Issues with ENV in production
N
Nuxt / ❓・help
3mo ago