Still need to track downt the root cause of this.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
Create a new file in this same dir and name it env.local. Copy the contents of .env.template and paste it in. Fill in your own values for the services you need and the urls you will be deploying to.
env.local
.env.template