SolidJSS
SolidJSโ€ข17mo agoโ€ข
11 replies
ChrisThornham

Environment Variables Missing `npm run start`

All of my environment variables are missing or undefined after running npm run build and npm run start.

npm run dev works as expected.

Does the build have access to the .env file at the root of the project? If not, how do I access them in the build?
Was this page helpful?