Hard to say since I’m not familiar with your source code. We are selecting the right version of node as you can see in the build log:
6:27:11 AM: Downloading https://nodejs.org/dist/v12.2.0/node-v12.2.0-linux-x64.tar.xz...
The problem is during build, (at least from the deploy 5d024f1a3838a9e9091decaa from yesterday at 6am Pacific time):
6:28:07 AM: error gatsby-node.js returned an error
6:28:07 AM: Error: Cannot find module '../actions.js'
6:28:07 AM: Require stack:
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/redux/actions/add-page-dependency.j s
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/schema/context.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/redux/prepare-nodes.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/redux/run-sift.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/db/nodes-query.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/db/nodes.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/redux/actions/public.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/redux/actions/index.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/utils/webpack.config.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/commands/build-html.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby/dist/commands/build.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby-cli/lib/create-cli.js
6:28:07 AM: - /opt/build/repo/node_modules/gatsby-cli/lib/index.js
which you’d need to debug with our standard build debugging advice (in our container, using a fresh copy of your repo locally):
Note: This article is only about builds within Netlify’s Continuous Integration (CI) environment, as
triggered from git commits or from incoming build webhooks. You can learn more in depth about how Netlify builds your site in this article about how our build bots build sites.
There are a fair number of reasons that a build could fail in Netlify’s CI environment, even if building works locally. Testing locally is always the place to start, and the thing we will recommend to you …