After many failed attempts, this solution worked to get my react app successfully deployed to Google App Engine.
- Be sure to run
npm run build
. This should create a build directory in your root folder. - Reference build files in
app.yaml
(in your root). Create if doesn't exist. This worked for me:
# [START runtime]
runtime: nodejs
env: flex
# [END runtime]