Description
The environment variables are not being loaded correctly
Expected behavior
I want to use process.env + .env file to load my environment variables.
Actual behavior
I'm trying to use process.env but it have just an empty Object.
The NODE_ENV doesn't exist either.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts (if you haven’t ejected):
└── react-scripts@0.6.1
node -v:
v6.7.0
npm -v:
3.10.8
Then, specify:
- Operating system: Windows 10 Pro
- Browser and version: Chrome 53.0.2785.143 m
Description
The environment variables are not being loaded correctly
Expected behavior
I want to use
process.env+.envfile to load my environment variables.Actual behavior
I'm trying to use
process.envbut it have just an emptyObject.The
NODE_ENVdoesn't exist either.Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts(if you haven’t ejected):└── react-scripts@0.6.1
node -v:v6.7.0
npm -v:3.10.8
Then, specify: