angular-cli-envvars icon indicating copy to clipboard operation
angular-cli-envvars copied to clipboard

Value comming as undefined

Open rrohitesh opened this issue 6 years ago • 1 comments

Hello Natchiketa,

First of all thanks for this work. I cloned your repo into my local and after doing npm install i tried to play around it . But, the values in the app component for the two variables that is defined in .env files are coming undefiend.

Can you help me with this?

rrohitesh avatar Jun 10 '18 07:06 rrohitesh

Did you define the expected variables in your OS env? If so dotenv should have read them as process.env.YOUR_VARIABLE when running set-env.ts.

Javarome avatar Jan 25 '19 14:01 Javarome