1 min readOct 12, 2018
Are you trying to set NODE_ENV
to qa
? The value of NODE_ENV
is set for you based on how create-react-app is run. For example, npm start
will result in a value of development
for NODE_ENV
. Out of the box, create-react-app supports three environments (see the Built-in support section of the article). If you want an additional environment use a variable name other than NODE_ENV
and follow the steps in the article.