You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run an express app, and have to rewrite all process.env / import.meta.env to Deno.env.get()
Attaching the vars to process / import.meta would allow the app to run as is.
I get a ReferenceError: process is not defined when using the --env-file
There could also be exposure like Deno.env.ENV_VAR as an alternative to Deno.env.get("ENV_VAR") that is easier to do a find-replace for, than meticulously going through an app to add quotes and parenthesis.
The text was updated successfully, but these errors were encountered:
I'm trying to run an express app, and have to rewrite all process.env / import.meta.env to Deno.env.get()
Attaching the vars to process / import.meta would allow the app to run as is.
I get a
ReferenceError: process is not defined
when using the --env-fileThere could also be exposure like Deno.env.ENV_VAR as an alternative to Deno.env.get("ENV_VAR") that is easier to do a find-replace for, than meticulously going through an app to add quotes and parenthesis.
The text was updated successfully, but these errors were encountered: