Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Environment Variables Missing `npm run start` - SolidJS
S
SolidJS
โข
2y ago
โข
11 replies
ChrisThornham
Environment Variables Missing `npm run start`
All of my environment variables are missing or undefined after running
npm run build
npm run build
and
npm run start
npm run start
.
npm run dev
npm run dev
works as expected
.
Does the build have access to the
.env
.env
file at the root of the project
? If not
, how do I access them in the build
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
*Npm Run Start* Fails To Mysterious Error
S
SolidJS / support
3y ago
Prod Environment Variables Please
S
SolidJS / support
12mo ago
solid start `npm run build` hangs in docker container
S
SolidJS / support
3y ago