Environment variables from file in webstorm Follow
Hello, does anyone know of a way to load environment variables from .env file when running node.js from webstorm 2022.1.4 ?
I have dotenv installed.
this configuration did not work :(
Please sign in to leave a comment.
It's not specific to the IDE, you need following the instructions in https://github.com/motdotla/dotenv#readme
If it works for you in terminal, it should run equally well from within the IDE