Steps: Install yarn if not installed globally npm i -g yarn Install dependencies yarn install Create 2 env files staging.env and production.env in project root with following content. API_URL= To load env file run one of the following code yarn staging yarn production