Env variables cannot be retrieved
After setting my start command to
npm run start
, I can no longer retrieve env variables I set in my node.js deployment.9 Replies
Project ID:
1149169f-9ac0-4773-a91d-748c1d397089
You might find these helpful:
- strapi project deletes all data and config on every deploy
- env vars not being read on deployed version
⚠️ experimental feature
Oh so it worked before? Have you put a line in that logs the env vars just to check ?
What does the table at the top of the build logs contain
yeah it did work
sorry for the late response
Very wierd.
Try logging all env vars. Console.log(process.env)
okay what
it decided to show up now
Hmm. Wtf
okay it crashed now
okay its back now
okay this is resolved now
thanks Finn