Hermes Alves
Explore posts from serversWhy isn't the API_PORT variable being loaded? Is there something I'm missing?
I'm trying to load an environment variable API_PORT using Deno and the @std/dotenv module, but it’s not being loaded correctly. The variable is undefined when I try to access it with Deno.env.get('API_PORT'). Here’s the code:
Why isn't the
API_PORT
variable being loaded? Is there something I'm missing?15 replies