GraphQL query error: Client network socket disconnected before secure TLS connection was established

Our site builds in development, but fails in production.

The error seems to be here: There was an error in your GraphQL query: Client network socket disconnected before secure TLS connection was established

Not sure why production is failing to build. Can you help?

Netlify site name: goodhere.netlify.app

Github repo: GitHub - goodhere/goodhere: Good Here helps you discover social impact startups, connect with the social impact community, and find social impact funding.

Build Log:

6:02:24 PM: Build ready to start
6:02:26 PM: build-image version: 30f629161c0736b1a3ecd8b418e5eeffab5c0faf
6:02:26 PM: build-image tag: v3.3.14
6:02:26 PM: buildbot version: 1da4cf38e1ad1fe9ce7deeeba939bcc9c6c3f794
6:02:27 PM: Fetching cached dependencies
6:02:27 PM: Starting to download cache of 1.4GB
6:02:36 PM: Finished downloading cache in 9.327041645s
6:02:36 PM: Starting to extract cache
6:03:14 PM: Finished extracting cache in 37.208240687s
6:03:14 PM: Finished fetching cache in 46.806354523s
6:03:14 PM: Starting to prepare the repo for build
6:03:14 PM: Preparing Git Reference refs/heads/master
6:03:45 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'goodhere/site/public' versus 'public' in the Netlify UI
6:03:45 PM: Starting build script
6:03:45 PM: Installing dependencies
6:03:46 PM: Started restoring cached node version
6:03:48 PM: Finished restoring cached node version
6:03:49 PM: v10.20.1 is already installed.
6:03:49 PM: Now using node v10.20.1 (npm v6.14.4)
6:03:49 PM: Started restoring cached build plugins
6:03:49 PM: Finished restoring cached build plugins
6:03:50 PM: Attempting ruby version 2.6.2, read from environment
6:03:51 PM: Using ruby version 2.6.2
6:03:51 PM: Using PHP version 5.6
6:03:51 PM: 5.2 is already installed.
6:03:51 PM: Using Swift version 5.2
6:03:51 PM: Started restoring cached node modules
6:03:51 PM: Finished restoring cached node modules
6:03:51 PM: Started restoring cached go cache
6:03:51 PM: Finished restoring cached go cache
6:03:52 PM: go version go1.12 linux/amd64
6:03:52 PM: go version go1.12 linux/amd64
6:03:52 PM: Installing missing commands
6:03:52 PM: Verify run directory
6:03:53 PM: ​
6:03:53 PM: ┌─────────────────────────────┐
6:03:53 PM: │        Netlify Build        │
6:03:53 PM: └─────────────────────────────┘
6:03:53 PM: ​
6:03:53 PM: ❯ Version
6:03:53 PM:   @netlify/build 1.0.10
6:03:53 PM: ​
6:03:53 PM: ❯ Flags
6:03:53 PM:   mode: buildbot
6:03:53 PM: ​
6:03:53 PM: ❯ Current directory
6:03:53 PM:   /opt/build/repo/goodhere/site
6:03:53 PM: ​
6:03:53 PM: ❯ Config file
6:03:53 PM:   No config file was defined: using default values.
6:03:53 PM: ​
6:03:53 PM: ❯ Context
6:03:53 PM:   production
6:03:53 PM: ​
6:03:53 PM: ┌────────────────────────────────┐
6:03:53 PM: │ 1. Build command from settings │
6:03:53 PM: └────────────────────────────────┘
6:03:53 PM: ​
6:03:53 PM: $ npm run build
6:03:54 PM: > climatescape@0.1.0 build /opt/build/repo/goodhere/site
6:03:54 PM: > gatsby build
6:03:56 PM: 
6:03:56 PM: 
6:03:56 PM: success open and validate gatsby-configs - 0.044s
6:03:57 PM: 
6:03:57 PM: success load plugins - 0.962s
6:03:57 PM: 
6:03:57 PM: success onPreInit - 0.002s
6:03:57 PM: 
6:03:57 PM: success delete html and css files from previous builds - 0.015s
6:03:57 PM: success initialize cache - 0.008s
6:03:57 PM: success copy gatsby files - 0.035s
6:03:57 PM: 
6:03:57 PM: success onPreBootstrap - 0.014s
6:03:57 PM: 
6:03:57 PM: success createSchemaCustomization - 0.005s
6:04:07 PM: 
6:04:07 PM: fetch all Airtable rows from 8 tables: 9610.082ms
6:04:50 PM: success source and transform nodes - 53.465s
6:04:51 PM: 
6:04:51 PM: 
6:04:51 PM: warning Multiple node fields resolve to the same GraphQL field `Airtable.data.Capital_Type` - [`Capital_Type`, `Capital_Type___NODE`]. Gatsby will use `Capital_Type___NODE`.
6:04:51 PM: 
6:04:51 PM: warning Multiple node fields resolve to the same GraphQL field `Airtable.data.Organization` - [`Organization___NODE`, `Organization`]. Gatsby will use `Organization___NODE`.
6:04:51 PM: success building schema - 1.017s
6:04:53 PM: 
6:04:53 PM: 
6:04:53 PM: success createPages - 1.725s
6:04:53 PM: success createPagesStatefully - 0.192s
6:04:53 PM: success onPreExtractQueries - 0.000s
6:04:53 PM: 
6:04:53 PM: 
6:04:53 PM: success update schema - 0.090s
6:04:54 PM: success extract queries from components - 0.582s
6:04:54 PM: success write out requires - 0.017s
6:04:54 PM: success write out redirect data - 0.001s
6:04:54 PM: success onPostBootstrap - 0.000s
6:04:54 PM: ⠀
6:04:54 PM: info bootstrap finished - 60.275 s
6:04:54 PM: ⠀
6:05:01 PM: 
6:05:01 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:17 PM: 
6:05:17 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:18 PM: 
6:05:18 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:18 PM: 
6:05:18 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:18 PM: 
6:05:18 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:18 PM: 
6:05:18 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:18 PM: 
6:05:18 PM: warning Browserslist: caniuse-lite is outdated. Please run next command `npm update`
6:05:23 PM: 
6:05:23 PM: 
6:05:23 PM: success Building production JavaScript and CSS bundles - 28.975s
6:05:23 PM: 
6:05:23 PM: 
6:05:23 PM: success Rewriting compilation hashes - 0.001s
6:05:45 PM: 
6:05:45 PM: 
6:05:45 PM: warning You can't use childImageSharp together with c67d04e5289bb5ba904d.xml — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:05:45 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:05:50 PM: 
6:05:50 PM: warning You can't use childImageSharp together with paepeixcnmh1owb4jmx8. — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:05:50 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:06 PM: 
6:06:06 PM: 
6:06:06 PM: warning You can't use childImageSharp together with Check_out_CELI_Boards_team_fundraising_page_for_Clean_Energy_... — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:06 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:40 PM: 
6:06:40 PM: warning You can't use childImageSharp together with Check_out_CELI_Boards_team_fundraising_page_for_Clean_Energy_... — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:40 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:40 PM: 
6:06:40 PM: warning You can't use childImageSharp together with Check_out_CELI_Boards_team_fundraising_page_for_Clean_Energy_... — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:40 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:41 PM: warning You can't use childImageSharp together with paepeixcnmh1owb4jmx8. — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:41 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:41 PM: 
6:06:41 PM: warning You can't use childImageSharp together with cx52qflqnmsrxf14g0hs.gif — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:41 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:41 PM: 
6:06:41 PM: warning You can't use childImageSharp together with c67d04e5289bb5ba904d.xml — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:41 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:43 PM: 
6:06:43 PM: warning You can't use childImageSharp together with paepeixcnmh1owb4jmx8. — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:43 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:44 PM: 
6:06:44 PM: warning You can't use childImageSharp together with cx52qflqnmsrxf14g0hs.gif — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:44 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:06:45 PM: 
6:06:45 PM: warning You can't use childImageSharp together with c67d04e5289bb5ba904d.xml — use publicURL instead. The childImageSharp portion of the query in this file will return null:
6:06:45 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:07:52 PM: 
6:07:52 PM: error There was an error in your GraphQL query:
6:07:52 PM: request to https://goodhere.herokuapp.com/v1/graphql failed, reason: Client network socket disconnected before secure TLS connection was established
6:07:52 PM:   70 |     childImageSharp {
6:07:52 PM:   71 |       resize(width: 256, height: 256, fit: CONTAIN, background: "white") {
6:07:52 PM:   72 |         src
6:07:52 PM:   73 |       }
6:07:52 PM:   74 |     }
6:07:52 PM:   75 |   }
6:07:52 PM:   76 | }
6:07:52 PM:   77 |
6:07:52 PM:   78 | fragment StaticFavorites on Query {
6:07:52 PM:   79 |   climatescape {
6:07:52 PM: > 80 |     favoritesCount {
6:07:52 PM:      |     ^
6:07:52 PM:   81 |       recordId
6:07:52 PM:   82 |       count
6:07:52 PM:   83 |     }
6:07:52 PM:   84 |   }
6:07:52 PM:   85 | }
6:07:52 PM:   86 |
6:07:52 PM:   87 | query OrganizationsPageQuery($categoryId: String) {
6:07:52 PM:   88 |   site {
6:07:52 PM:   89 |     siteMetadata {
6:07:52 PM:   90 |       organizationAddFormUrl
6:07:52 PM: File path: /opt/build/repo/goodhere/site/src/templates/organizations.js
6:07:52 PM: Url path: /categories/atmosphere
6:07:52 PM: Plugin: none
6:07:52 PM: not finished run queries - 177.828s
6:07:52 PM: not finished Generating image thumbnails - 147.923s
6:07:52 PM: npm
6:07:52 PM:  ERR! code ELIFECYCLE
6:07:52 PM: npm ERR!
6:07:52 PM:  errno 1
6:07:52 PM: npm
6:07:52 PM: ERR! climatescape@0.1.0 build: `gatsby build`
6:07:52 PM: npm ERR!
6:07:52 PM:  Exit status 1
6:07:52 PM: npm
6:07:52 PM: ERR!
6:07:52 PM: npm ERR!
6:07:52 PM:  Failed at the climatescape@0.1.0 build script.
6:07:52 PM: npm ERR!
6:07:52 PM:  This is probably not a problem with npm. There is likely additional logging output above.
6:07:52 PM: npm
6:07:52 PM: ERR! A complete log of this run can be found in:
6:07:52 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-05-28T17_07_52_516Z-debug.log
6:07:52 PM: ​
6:07:52 PM: ┌─────────────────────────────┐
6:07:52 PM: │   "build.command" failed    │
6:07:52 PM: └─────────────────────────────┘
6:07:52 PM: ​
6:07:52 PM:   Error message
6:07:52 PM:   Command failed with exit code 1: npm run build
6:07:52 PM: ​
6:07:52 PM:   Error location
6:07:52 PM:   In Build command from settings:
6:07:52 PM:   npm run build
6:07:52 PM: ​
6:07:52 PM:   Resolved config
6:07:52 PM:   build:
6:07:52 PM:     base: /opt/build/repo/goodhere/site
6:07:52 PM:     command: npm run build
6:07:52 PM:     publish: /opt/build/repo/goodhere/site/public
6:07:52 PM: Caching artifacts
6:07:52 PM: Started saving node modules
6:07:52 PM: Finished saving node modules
6:07:52 PM: Started saving build plugins
6:07:52 PM: Finished saving build plugins
6:07:52 PM: Started saving pip cache
6:07:54 PM: Finished saving pip cache
6:07:54 PM: Started saving emacs cask dependencies
6:07:54 PM: Finished saving emacs cask dependencies
6:07:54 PM: Started saving maven dependencies
6:07:54 PM: Finished saving maven dependencies
6:07:54 PM: Started saving boot dependencies
6:07:54 PM: Finished saving boot dependencies
6:07:54 PM: Started saving go dependencies
6:07:54 PM: Finished saving go dependencies
6:07:54 PM: Error running command: Build script returned non-zero exit code: 1
6:07:54 PM: Failing build: Failed to build site
6:07:54 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
6:07:54 PM: Finished processing build request in 5m27.679775874s

I think you’ve nailed it - your server isn’t responding to the query, in what looks like over a minute. Are you sure that query returns quickly/reliably from your heroku server?

One pattern you can use (though I do not expect there to be a lot more in there) to show those debug logs is to intentionally fail your build, and output the logs, by using a build command like:

npm run build || (cat /opt/buildhome/.npm/_logs/*-debug.log ; sleep 120 ; false)

That will do your normal build and only if it fails, try showing the debug log, giving it time to finish printing, and marking the build as failed despite the “cat ; sleep 120” “succeeding” in doing what we intended (but not in building your site, so we want to make sure our CI network considers it a failure too!)

@fool Thanks for the build command - I tried it out and the build fails on the CI network too.

This is the new verbose log for the failed build - looking at these errors, it seems to be querying the “CategoryCount” with every page it creates, which might be why it’s taking so long?

Any pointers would be appreciated, though taware this is not a Netlify build issue any more so can also try taking my query to SO or elsewhere. Thanks.

3:25:01 PM: Build ready to start
3:25:03 PM: build-image version: 30f629161c0736b1a3ecd8b418e5eeffab5c0faf
3:25:03 PM: build-image tag: v3.3.14
3:25:03 PM: buildbot version: 80b5e22571e5cc4a3ded879ff356be5e92200072
3:25:03 PM: Fetching cached dependencies
3:25:03 PM: Starting to download cache of 1.4GB
3:25:19 PM: Finished downloading cache in 16.395713854s
3:25:19 PM: Starting to extract cache
3:25:58 PM: Finished extracting cache in 38.716650218s
3:25:58 PM: Finished fetching cache in 55.420982897s
3:25:58 PM: Starting to prepare the repo for build
3:25:59 PM: Preparing Git Reference refs/heads/master
3:26:35 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'goodhere/site/public' versus 'public' in the Netlify UI
3:26:35 PM: Starting build script
3:26:35 PM: Installing dependencies
3:26:35 PM: Started restoring cached node version
3:26:38 PM: Finished restoring cached node version
3:26:39 PM: v10.20.1 is already installed.
3:26:40 PM: Now using node v10.20.1 (npm v6.14.4)
3:26:40 PM: Started restoring cached build plugins
3:26:40 PM: Finished restoring cached build plugins
3:26:40 PM: Attempting ruby version 2.6.2, read from environment
3:26:41 PM: Using ruby version 2.6.2
3:26:41 PM: Using PHP version 5.6
3:26:41 PM: 5.2 is already installed.
3:26:42 PM: Using Swift version 5.2
3:26:42 PM: Started restoring cached node modules
3:26:42 PM: Finished restoring cached node modules
3:26:42 PM: Installing NPM modules using NPM version 6.14.4
3:27:23 PM: > sharp@0.25.3 install /opt/build/repo/goodhere/site/node_modules/sharp
3:27:23 PM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
3:27:23 PM: info
3:27:23 PM: sharp
3:27:23 PM:  Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
3:27:25 PM: > websocket@1.0.31 install /opt/build/repo/goodhere/site/node_modules/websocket
3:27:25 PM: > (node-gyp rebuild 2> builderror.log) || (exit 0)
3:27:27 PM: make: Entering directory '/opt/build/repo/goodhere/site/node_modules/websocket/build'
3:27:27 PM:   CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
3:27:28 PM:   SOLINK_MODULE(target) Release/obj.target/bufferutil.node
3:27:28 PM:   COPY Release/bufferutil.node
3:27:28 PM:   CXX(target) Release/obj.target/validation/src/validation.o
3:27:29 PM:   SOLINK_MODULE(target) Release/obj.target/validation.node
3:27:29 PM:   COPY Release/validation.node
3:27:29 PM: make: Leaving directory '/opt/build/repo/goodhere/site/node_modules/websocket/build'
3:27:29 PM: > core-js@2.6.11 postinstall /opt/build/repo/goodhere/site/node_modules/@babel/polyfill/node_modules/core-js
3:27:29 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:29 PM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
3:27:29 PM: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
3:27:29 PM: > https://opencollective.com/core-js 
3:27:29 PM: > https://www.patreon.com/zloirock 
3:27:29 PM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
3:27:29 PM: > core-js@2.6.11 postinstall /opt/build/repo/goodhere/site/node_modules/babel-runtime/node_modules/core-js
3:27:29 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:29 PM: > core-js@3.6.5 postinstall /opt/build/repo/goodhere/site/node_modules/core-js
3:27:29 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:29 PM: > core-js-pure@3.6.5 postinstall /opt/build/repo/goodhere/site/node_modules/core-js-pure
3:27:29 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:29 PM: > core-js@2.6.11 postinstall /opt/build/repo/goodhere/site/node_modules/fbjs/node_modules/core-js
3:27:29 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:30 PM: > core-js@2.6.11 postinstall /opt/build/repo/goodhere/site/node_modules/gatsby-plugin-algolia/node_modules/core-js
3:27:30 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:30 PM: > core-js@2.6.11 postinstall /opt/build/repo/goodhere/site/node_modules/gatsby/node_modules/core-js
3:27:30 PM: > node -e "try{require('./postinstall')}catch(e){}"
3:27:30 PM: > gatsby-telemetry@1.3.9 postinstall /opt/build/repo/goodhere/site/node_modules/gatsby-telemetry
3:27:30 PM: > node src/postinstall.js || true
3:27:30 PM: > gatsby-cli@2.12.37 postinstall /opt/build/repo/goodhere/site/node_modules/gatsby/node_modules/gatsby-cli
3:27:30 PM: > node scripts/postinstall.js
3:27:30 PM: > gatsby@2.22.12 postinstall /opt/build/repo/goodhere/site/node_modules/gatsby
3:27:30 PM: > node scripts/postinstall.js
3:27:33 PM: npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
3:27:33 PM: npm
3:27:33 PM:  WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
3:27:33 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:27:33 PM: npm
3:27:33 PM:  WARN optional
3:27:33 PM:  SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/chokidar/node_modules/fsevents):
3:27:33 PM: npm WARN
3:27:33 PM: notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:27:33 PM: added 482 packages from 478 contributors, removed 508 packages, updated 403 packages and audited 2641 packages in 50.719s
3:27:36 PM: 149 packages are looking for funding
3:27:36 PM:   run `npm fund` for details
3:27:36 PM: found 1 low severity vulnerability
3:27:36 PM:   run `npm audit fix` to fix them, or `npm audit` for details
3:27:36 PM: NPM modules installed
3:27:37 PM: Started restoring cached go cache
3:27:37 PM: Finished restoring cached go cache
3:27:37 PM: go version go1.12 linux/amd64
3:27:37 PM: go version go1.12 linux/amd64
3:27:37 PM: Installing missing commands
3:27:37 PM: Verify run directory
3:27:38 PM: ​
3:27:38 PM: ┌─────────────────────────────┐
3:27:38 PM: │        Netlify Build        │
3:27:38 PM: └─────────────────────────────┘
3:27:38 PM: ​
3:27:38 PM: ❯ Version
3:27:38 PM:   @netlify/build 1.0.14
3:27:38 PM: ​
3:27:38 PM: ❯ Flags
3:27:38 PM:   mode: buildbot
3:27:38 PM: ​
3:27:38 PM: ❯ Current directory
3:27:38 PM:   /opt/build/repo/goodhere/site
3:27:38 PM: ​
3:27:38 PM: ❯ Config file
3:27:38 PM:   No config file was defined: using default values.
3:27:38 PM: ​
3:27:38 PM: ❯ Context
3:27:38 PM:   production
3:27:39 PM: ​
3:27:39 PM: ┌────────────────────────────────┐
3:27:39 PM: │ 1. Build command from settings │
3:27:39 PM: └────────────────────────────────┘
3:27:39 PM: ​
3:27:39 PM: $ npm run build || (cat /opt/buildhome/.npm/_logs/*-debug.log ; sleep 120 ; false)
3:27:39 PM: > climatescape@0.1.0 build /opt/build/repo/goodhere/site
3:27:39 PM: > gatsby build
3:27:42 PM: 
3:27:42 PM: 
3:27:42 PM: success open and validate gatsby-configs - 0.029s
3:27:42 PM: 
3:27:42 PM: success load plugins - 0.801s
3:27:42 PM: 
3:27:42 PM: success onPreInit - 0.006s
3:27:43 PM: 
3:27:43 PM: success delete html and css files from previous builds - 0.027s
3:27:43 PM: 
3:27:43 PM: success initialize cache - 0.019s
3:27:43 PM: 
3:27:43 PM: success copy gatsby files - 0.094s
3:27:43 PM: 
3:27:43 PM: success onPreBootstrap - 0.014s
3:27:43 PM: 
3:27:43 PM: success createSchemaCustomization - 0.004s
3:27:50 PM: 
3:27:50 PM: fetch all Airtable rows from 8 tables: 7083.589ms
3:28:54 PM: success source and transform nodes - 71.306s
3:28:55 PM: 
3:28:55 PM: warning Multiple node fields resolve to the same GraphQL field `Airtable.data.Capital_Type` - [`Capital_Type`, `Capital_Type___NODE`]. Gatsby will use `Capital_Type___NODE`.
3:28:55 PM: warning Multiple node fields resolve to the same GraphQL field `Airtable.data.Organization` - [`Organization___NODE`, `Organization`]. Gatsby will use `Organization___NODE`.
3:28:55 PM: 
3:28:55 PM: success building schema - 1.215s
3:28:57 PM: success createPages - 1.818s
3:28:57 PM: success createPagesStatefully - 0.066s
3:28:57 PM: success onPreExtractQueries - 0.000s
3:28:57 PM: success update schema - 0.105s
3:28:58 PM: success extract queries from components - 0.922s
3:28:58 PM: success write out requires - 0.018s
3:28:58 PM: success write out redirect data - 0.001s
3:28:58 PM: success onPostBootstrap - 0.000s
3:28:58 PM: ⠀
3:28:58 PM: info bootstrap finished - 79.279s
3:28:58 PM: ⠀
3:29:52 PM: 
3:29:52 PM: success Building production JavaScript and CSS bundles - 53.389s
3:29:52 PM: 
3:29:52 PM: 
3:29:52 PM: success Rewriting compilation hashes - 0.006s
3:30:16 PM: 
3:30:16 PM: warning You can't use childImageSharp together with paepeixcnmh1owb4jmx8.svg — use publicURL instead. The childImageSharp portion of the query in this file will return null:
3:30:16 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:30:22 PM: 
3:30:22 PM: warning You can't use childImageSharp together with c67d04e5289bb5ba904d.svg — use publicURL instead. The childImageSharp portion of the query in this file will return null:
3:30:22 PM: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:30:56 PM: 
3:30:56 PM: warning Query takes too long:
3:30:56 PM: File path: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:30:56 PM: URL path: /categories/carbon-accounting
3:30:56 PM: Context: {
3:30:56 PM:     "categoryName": "Carbon Accounting",
3:30:56 PM:     "categoryId": "3244f60b-020d-5384-b06f-539b238983b2",
3:30:56 PM:     "categoryCounts": {
3:30:56 PM:         "35ca32f1-8445-55d3-adc8-aaacfe552454": 30,
3:30:56 PM:         "1dc0e2fc-d70b-5c79-923a-416d76c986ee": 543,
3:30:56 PM:         "3fbeff37-42f3-5813-a07c-52594909ee33": 1,
3:30:56 PM:         "2f4c6adc-48f0-59b9-8e8b-3549c381a043": 6,
3:30:56 PM:         "7e60f214-f853-5f74-8c9d-6b689c6797af": 6,
3:30:56 PM:         "40a2a187-0c83-5971-8ac8-05ae76ded807": 18,
3:30:56 PM:         "e999a220-c77d-532d-800a-966a2d62ba28": 3,
3:30:56 PM:         "c03758d0-9525-5f7e-9ef8-14259c2ee93d": 4,
3:30:56 PM:         "036cccf3-0b53-5318-ba59-5231b2541a11": 60,
3:30:56 PM:         "ebef4ff9-deef-5c4a-9c25-028ae9a4d9cc": 12,
3:30:56 PM:         "1803db34-1bfa-59aa-a91d-b6456c7789c0": 1,
3:30:56 PM:         "e87c5017-f367-5dea-80fb-8308cb290825": 38,
3:30:56 PM:         "2199baee-0ce1-50ce-84f8-e65daeb86712": 1,
3:30:56 PM:         "ad32473d-0ed2-50d7-bd26-1d0ba8450d28": 86,
3:30:56 PM:         "39a111c1-eed2-54dd-99df-1a69227419da": 31,
3:30:56 PM:         "1aa9a222-ee40-59f6-bf97-f31a8977ba9f": 24,
3:30:56 PM:         "a90983f6-d368-5fcc-9f50-91d797888540": 86,
3:30:56 PM:         "5c1d3155-2548-5246-a0fd-cbada1fe61d4": 3,
3:30:56 PM:         "666565ce-11f3-5036-889d-7c1b6280daa2": 2,
3:30:56 PM:         "fe05fe3f-c4f3-5951-91ed-98027f994d6a": 33,
3:30:56 PM:         "9242e14a-389c-5828-aa4f-772d14ee2771": 6,
3:30:56 PM:         "c7c15ba4-0a0c-503c-8b86-e6949fc1e2c2": 124,
3:30:56 PM:         "d84e2b5d-811c-5fa5-8f95-f72dcec219a7": 8,
3:30:56 PM:         "db9825df-a884-511c-a56b-0523c7cf6d24": 7,
3:30:56 PM:         "04a264f4-a70b-5d9f-835b-063979681cda": 9,
3:30:56 PM:         "25672e95-93db-5351-91e4-86a877c9381c": 7,
3:30:56 PM:         "055d76f4-8735-5c9a-ab7c-9ed131b2063c": 2,
3:30:56 PM:         "a365b992-824c-5437-a6e8-7a24987b264a": 3,
3:30:56 PM:         "19078cdf-7350-5c0f-965a-fbdc93def7ac": 133,
3:30:56 PM:         "665ddf36-27a9-5c0d-b590-65a107f06364": 5,
3:30:56 PM:         "23a4fbd1-acc6-52a1-bdad-61022b6568b3": 5,
3:30:56 PM:         "30f8b631-b253-5dee-8703-5108b83fc919": 7,
3:30:56 PM:         "475702a6-d5d4-5dc4-b2b8-ad2fd6c592bc": 1,
3:30:56 PM:         "1c3992ee-417c-5111-8b0d-2edbcf29eedf": 1,
3:30:56 PM:         "ed8d00e5-0b2b-54e3-9c9b-fd1148fb35b8": 26,
3:30:56 PM:         "103da59d-daa8-50ba-a2e0-d60653018e31": 11,
3:30:56 PM:         "8829d69d-7502-516f-b259-7dd580d6ac6e": 2,
3:30:56 PM:         "86fd3bdc-cdb7-5669-9894-718d8f1c025b": 14,
3:30:56 PM:         "8556af2c-062a-5995-b285-71896f4885a3": 9,
3:30:56 PM:         "bbee268d-3eb5-50b7-b5b7-6557c71163d4": 5,
3:30:56 PM:         "bfd0971e-7d07-5500-abb9-b216e21aa403": 4,
3:30:56 PM:         "e2c95146-f4d9-59e8-8598-94804682e003": 3,
3:30:56 PM:         "aa60c354-7034-5b2f-a3c4-8940caf62cc4": 3,
3:30:56 PM:         "8bc1d357-dde1-588f-95a2-e9a9941de033": 3,
3:30:56 PM:         "ef47b62e-ef2b-51e1-9997-afc4b9ababed": 1,
3:30:56 PM:         "e513a8bf-20f4-5ea0-a1a1-7de31efebe61": 12,
3:30:56 PM:         "c1c6fe90-227e-5fb5-b69e-eee8bc4c83d0": 2,
3:30:56 PM:         "4ee75cca-5c53-5167-a71f-6047e67e2b67": 12,
3:30:56 PM:         "b4ba890e-1198-5332-aa0b-eb81381b5b42": 10,
3:30:56 PM:         "70bbc4eb-7c38-533b-8044-225c88b31768": 10,
3:30:56 PM:         "e3a2218a-9e91-58bd-9cb5-8c661eab8af7": 8,
3:30:56 PM:         "138ba134-f7f2-50f8-ab8f-3ec6406aca11": 7,
3:30:56 PM:         "5ed14f41-4db0-5a67-98aa-eb9dbe495053": 16,
3:30:56 PM:         "32b35b98-6110-5a54-b7e4-9df827664492": 215,
3:30:56 PM:         "e64186fa-5d42-5666-a9fb-b2fa64353a8e": 21,
3:30:56 PM:         "cada4051-8a81-5b53-b991-1f8ab418e268": 2,
3:30:56 PM:         "47e845c3-04fc-501a-8c20-895d042f8577": 6,
3:30:56 PM:         "bfe466e3-7e74-5dc4-95ae-8131efa3d09f": 14,
3:30:56 PM:         "51bb6b1a-bf19-5293-a19f-f294926405f6": 8,
3:30:56 PM:         "7044504d-0ef5-5d97-b513-cedd4fcbaee3": 19,
3:30:56 PM:         "1fd54eca-da8c-5f51-a0a4-9ce9dea4606f": 76,
3:30:56 PM:         "d424a422-b60b-55a2-9f21-7522a4332c40": 3,
3:30:56 PM:         "1d0648be-3e88-5ad5-876a-3e58060432a6": 22,
3:30:56 PM:         "f05df63b-fd5a-5d9d-bc67-0bfa1bfe6388": 12,
3:30:56 PM:         "901a32b5-db9c-5549-a5cf-4b6cf9f45885": 3,
3:30:56 PM:         "fb045c4c-c282-5122-a9c3-a0230b795c6e": 4,
3:30:56 PM:         "b80c5d9d-e21d-552d-8837-a4aaf1133e0e": 1,
3:30:56 PM:         "b911b24f-f848-5f62-86b9-e5b72c1a3fca": 6,
3:30:56 PM:         "144cf9e2-5b0f-57f4-8623-d78a941cbe2d": 17,
3:30:56 PM:         "cf79df59-cf2d-5098-8c3f-b1b74f819300": 7,
3:30:56 PM:         "c9f4ac72-b0d2-54c1-a5f7-fec963f5d42b": 14,
3:30:56 PM:         "519cd4b0-d5a8-5ab6-a859-e098c56602d5": 14,
3:30:56 PM:         "5c96ae62-2cf3-5cbd-a79d-180452916d38": 4,
3:30:56 PM:         "da1ae89c-bf6e-5913-90b3-2fe6027420fe": 16,
3:30:56 PM:         "f5a2409d-458d-5cf6-85e2-a61b5068b78c": 2,
3:30:56 PM:         "1a5c2c13-1289-5280-8aff-9e687a5a1ab0": 8,
3:30:56 PM:         "561be0f4-6b57-5352-bdfa-cee7492a0c7f": 4,
3:30:56 PM:         "26f0da36-dc7d-59e1-8f48-2b08e2617c97": 7,
3:30:56 PM:         "30f4872e-4c4f-5918-b8c1-2fdc23b10f39": 11,
3:30:56 PM:         "3352f138-4ab2-5cd0-93ed-2306bf99219e": 14,
3:30:56 PM:         "c88776b7-9a1f-5186-af82-4593e4d3fcb6": 1,
3:30:56 PM:         "e987c81c-cae3-5789-847a-bfa296d617af": 29,
3:30:56 PM:         "aba494d6-e589-5448-a434-6a53ab751495": 114,
3:30:56 PM:         "6882222e-c658-56ef-a751-749c1099d319": 5,
3:30:56 PM:         "3244f60b-020d-5384-b06f-539b238983b2": 28,
3:30:56 PM:         "6306cdaa-79ca-5fb8-8a90-9f1ee2dc462a": 8,
3:30:56 PM:         "1a7faa94-2e72-57b5-a923-250cb29b73d2": 1,
3:30:56 PM:         "aa88de5e-4f9f-5d29-b8c8-9792c85731ce": 2,
3:30:56 PM:         "ae1be551-df41-54be-9dfc-3731e86d0e00": 18,
3:30:56 PM:         "dd515c56-07de-5345-8427-211e238f9d09": 6,
3:30:56 PM:         "25b41447-ed4b-5927-b2bf-d8f117748f83": 1,
3:30:56 PM:         "c52be251-ea5c-530c-ada5-db0b78eeb418": 2,
3:30:56 PM:         "40e881c9-d9fc-5414-ad84-ca4d10e7c7e5": 7,
3:30:56 PM:         "ccc612d4-023c-549d-acba-0574743efc01": 1,
3:30:56 PM:         "52b58030-9cce-5fe1-b274-cad0301a956a": 2
3:30:56 PM:     }
3:30:56 PM: }
3:30:56 PM: warning Query takes too long:
3:30:56 PM: File path: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:30:56 PM: URL path: /categories/food-and-agriculture
3:30:56 PM: Context: {
3:30:56 PM:     "categoryName": "Food & Agriculture",
3:30:56 PM:     "categoryId": "19078cdf-7350-5c0f-965a-fbdc93def7ac",
3:30:56 PM:     "categoryCounts": {
3:30:56 PM:         "35ca32f1-8445-55d3-adc8-aaacfe552454": 30,
3:30:56 PM:         "1dc0e2fc-d70b-5c79-923a-416d76c986ee": 543,
3:30:56 PM:         "3fbeff37-42f3-5813-a07c-52594909ee33": 1,
3:30:56 PM:         "2f4c6adc-48f0-59b9-8e8b-3549c381a043": 6,
3:30:56 PM:         "7e60f214-f853-5f74-8c9d-6b689c6797af": 6,
3:30:56 PM:         "40a2a187-0c83-5971-8ac8-05ae76ded807": 18,
3:30:56 PM:         "e999a220-c77d-532d-800a-966a2d62ba28": 3,
3:30:56 PM:         "c03758d0-9525-5f7e-9ef8-14259c2ee93d": 4,
3:30:56 PM:         "036cccf3-0b53-5318-ba59-5231b2541a11": 60,
3:30:56 PM:         "ebef4ff9-deef-5c4a-9c25-028ae9a4d9cc": 12,
3:30:56 PM:         "1803db34-1bfa-59aa-a91d-b6456c7789c0": 1,
3:30:56 PM:         "e87c5017-f367-5dea-80fb-8308cb290825": 38,
3:30:56 PM:         "2199baee-0ce1-50ce-84f8-e65daeb86712": 1,
3:30:56 PM:         "ad32473d-0ed2-50d7-bd26-1d0ba8450d28": 86,
3:30:56 PM:         "39a111c1-eed2-54dd-99df-1a69227419da": 31,
3:30:56 PM:         "1aa9a222-ee40-59f6-bf97-f31a8977ba9f": 24,
3:30:56 PM:         "a90983f6-d368-5fcc-9f50-91d797888540": 86,
3:30:56 PM:         "5c1d3155-2548-5246-a0fd-cbada1fe61d4": 3,
3:30:56 PM:         "666565ce-11f3-5036-889d-7c1b6280daa2": 2,
3:30:56 PM:         "fe05fe3f-c4f3-5951-91ed-98027f994d6a": 33,
3:30:56 PM:         "9242e14a-389c-5828-aa4f-772d14ee2771": 6,
3:30:56 PM:         "c7c15ba4-0a0c-503c-8b86-e6949fc1e2c2": 124,
3:30:56 PM:         "d84e2b5d-811c-5fa5-8f95-f72dcec219a7": 8,
3:30:56 PM:         "db9825df-a884-511c-a56b-0523c7cf6d24": 7,
3:30:56 PM:         "04a264f4-a70b-5d9f-835b-063979681cda": 9,
3:30:56 PM:         "25672e95-93db-5351-91e4-86a877c9381c": 7,
3:30:56 PM:         "055d76f4-8735-5c9a-ab7c-9ed131b2063c": 2,
3:30:56 PM:         "a365b992-824c-5437-a6e8-7a24987b264a": 3,
3:30:56 PM:         "19078cdf-7350-5c0f-965a-fbdc93def7ac": 133,
3:30:56 PM:         "665ddf36-27a9-5c0d-b590-65a107f06364": 5,
3:30:56 PM:         "23a4fbd1-acc6-52a1-bdad-61022b6568b3": 5,
3:30:56 PM:         "30f8b631-b253-5dee-8703-5108b83fc919": 7,
3:30:56 PM:         "475702a6-d5d4-5dc4-b2b8-ad2fd6c592bc": 1,
3:30:56 PM:         "1c3992ee-417c-5111-8b0d-2edbcf29eedf": 1,
3:30:56 PM:         "ed8d00e5-0b2b-54e3-9c9b-fd1148fb35b8": 26,
3:30:56 PM:         "103da59d-daa8-50ba-a2e0-d60653018e31": 11,
3:30:56 PM:         "8829d69d-7502-516f-b259-7dd580d6ac6e": 2,
3:30:56 PM:         "86fd3bdc-cdb7-5669-9894-718d8f1c025b": 14,
3:30:56 PM:         "8556af2c-062a-5995-b285-71896f4885a3": 9,
3:30:56 PM:         "bbee268d-3eb5-50b7-b5b7-6557c71163d4": 5,
3:30:56 PM:         "bfd0971e-7d07-5500-abb9-b216e21aa403": 4,
3:30:56 PM:         "e2c95146-f4d9-59e8-8598-94804682e003": 3,
3:30:56 PM:         "aa60c354-7034-5b2f-a3c4-8940caf62cc4": 3,
3:30:56 PM:         "8bc1d357-dde1-588f-95a2-e9a9941de033": 3,
3:30:56 PM:         "ef47b62e-ef2b-51e1-9997-afc4b9ababed": 1,
3:30:56 PM:         "e513a8bf-20f4-5ea0-a1a1-7de31efebe61": 12,
3:30:56 PM:         "c1c6fe90-227e-5fb5-b69e-eee8bc4c83d0": 2,
3:30:56 PM:         "4ee75cca-5c53-5167-a71f-6047e67e2b67": 12,
3:30:56 PM:         "b4ba890e-1198-5332-aa0b-eb81381b5b42": 10,
3:30:56 PM:         "70bbc4eb-7c38-533b-8044-225c88b31768": 10,
3:30:56 PM:         "e3a2218a-9e91-58bd-9cb5-8c661eab8af7": 8,
3:30:56 PM:         "138ba134-f7f2-50f8-ab8f-3ec6406aca11": 7,
3:30:56 PM:         "5ed14f41-4db0-5a67-98aa-eb9dbe495053": 16,
3:30:56 PM:         "32b35b98-6110-5a54-b7e4-9df827664492": 215,
3:30:56 PM:         "e64186fa-5d42-5666-a9fb-b2fa64353a8e": 21,
3:30:56 PM:         "cada4051-8a81-5b53-b991-1f8ab418e268": 2,
3:30:56 PM:         "47e845c3-04fc-501a-8c20-895d042f8577": 6,
3:30:56 PM:         "bfe466e3-7e74-5dc4-95ae-8131efa3d09f": 14,
3:30:56 PM:         "51bb6b1a-bf19-5293-a19f-f294926405f6": 8,
3:30:56 PM:         "7044504d-0ef5-5d97-b513-cedd4fcbaee3": 19,
3:30:56 PM:         "1fd54eca-da8c-5f51-a0a4-9ce9dea4606f": 76,
3:30:56 PM:         "d424a422-b60b-55a2-9f21-7522a4332c40": 3,
3:30:56 PM:         "1d0648be-3e88-5ad5-876a-3e58060432a6": 22,
3:30:56 PM:         "f05df63b-fd5a-5d9d-bc67-0bfa1bfe6388": 12,
3:30:56 PM:         "901a32b5-db9c-5549-a5cf-4b6cf9f45885": 3,
3:30:56 PM:         "fb045c4c-c282-5122-a9c3-a0230b795c6e": 4,
3:30:56 PM:         "b80c5d9d-e21d-552d-8837-a4aaf1133e0e": 1,
3:30:56 PM:         "b911b24f-f848-5f62-86b9-e5b72c1a3fca": 6,
3:30:56 PM:         "144cf9e2-5b0f-57f4-8623-d78a941cbe2d": 17,
3:30:56 PM:         "cf79df59-cf2d-5098-8c3f-b1b74f819300": 7,
3:30:56 PM:         "c9f4ac72-b0d2-54c1-a5f7-fec963f5d42b": 14,
3:30:56 PM:         "519cd4b0-d5a8-5ab6-a859-e098c56602d5": 14,
3:30:56 PM:         "5c96ae62-2cf3-5cbd-a79d-180452916d38": 4,
3:30:56 PM:         "da1ae89c-bf6e-5913-90b3-2fe6027420fe": 16,
3:30:56 PM:         "f5a2409d-458d-5cf6-85e2-a61b5068b78c": 2,
3:30:56 PM:         "1a5c2c13-1289-5280-8aff-9e687a5a1ab0": 8,
3:30:56 PM:         "561be0f4-6b57-5352-bdfa-cee7492a0c7f": 4,
3:30:56 PM:         "26f0da36-dc7d-59e1-8f48-2b08e2617c97": 7,
3:30:56 PM:         "30f4872e-4c4f-5918-b8c1-2fdc23b10f39": 11,
3:30:56 PM:         "3352f138-4ab2-5cd0-93ed-2306bf99219e": 14,
3:30:56 PM:         "c88776b7-9a1f-5186-af82-4593e4d3fcb6": 1,
3:30:56 PM:         "e987c81c-cae3-5789-847a-bfa296d617af": 29,
3:30:56 PM:         "aba494d6-e589-5448-a434-6a53ab751495": 114,
3:30:56 PM:         "6882222e-c658-56ef-a751-749c1099d319": 5,
3:30:56 PM:         "3244f60b-020d-5384-b06f-539b238983b2": 28,
3:30:56 PM:         "6306cdaa-79ca-5fb8-8a90-9f1ee2dc462a": 8,
3:30:56 PM:         "1a7faa94-2e72-57b5-a923-250cb29b73d2": 1,
3:30:56 PM:         "aa88de5e-4f9f-5d29-b8c8-9792c85731ce": 2,
3:30:56 PM:         "ae1be551-df41-54be-9dfc-3731e86d0e00": 18,
3:30:56 PM:         "dd515c56-07de-5345-8427-211e238f9d09": 6,
3:30:56 PM:         "25b41447-ed4b-5927-b2bf-d8f117748f83": 1,
3:30:56 PM:         "c52be251-ea5c-530c-ada5-db0b78eeb418": 2,
3:30:56 PM:         "40e881c9-d9fc-5414-ad84-ca4d10e7c7e5": 7,
3:30:56 PM:         "ccc612d4-023c-549d-acba-0574743efc01": 1,
3:30:56 PM:         "52b58030-9cce-5fe1-b274-cad0301a956a": 2
3:30:56 PM:     }
3:30:56 PM: }
3:32:27 PM: warning Query takes too long:
3:32:27 PM: File path: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:32:27 PM: URL path: /organizations
3:32:27 PM: Context: {
3:32:27 PM:     "categoryCounts": {
3:32:27 PM: error There was an error in your GraphQL query:
3:32:27 PM: request to https://goodhere.herokuapp.com/v1/graphql failed, reason: Client network socket disconnected before secure TLS connection was established
3:32:27 PM:   70 |     childImageSharp {
3:32:27 PM:   71 |       resize(width: 256, height: 256, fit: CONTAIN, background: "white") {
3:32:27 PM:   72 |         src
3:32:27 PM:   73 |       }
3:32:27 PM:   74 |     }
3:32:27 PM:   75 |   }
3:32:27 PM:   76 | }
3:32:27 PM:   77 |
3:32:27 PM:   78 | fragment StaticFavorites on Query {
3:32:27 PM:   79 |   climatescape {
3:32:27 PM: > 80 |     favoritesCount {
3:32:27 PM:      |     ^
3:32:27 PM:   81 |       recordId
3:32:27 PM:   82 |       count
3:32:27 PM:   83 |     }
3:32:27 PM:   84 |   }
3:32:27 PM:   85 | }
3:32:27 PM:   86 |
3:32:27 PM:   87 | query OrganizationsPageQuery($categoryId: String) {
3:32:27 PM:   88 |   site {
3:32:27 PM:   89 |     siteMetadata {
3:32:27 PM:   90 |       organizationAddFormUrl
3:32:27 PM: File path: /opt/build/repo/goodhere/site/src/templates/organizations.js
3:32:27 PM: Url path: /categories/carbon
3:32:27 PM: Plugin: none
3:32:27 PM: not finished run queries - 208.910s
3:32:27 PM: not finished Generating image thumbnails - 154.256s
3:32:27 PM: npm
3:32:27 PM:  ERR! code ELIFECYCLE
3:32:27 PM: npm
3:32:27 PM: ERR! errno 1
3:32:27 PM: npm ERR!
3:32:27 PM:  climatescape@0.1.0 build: `gatsby build`
3:32:27 PM: npm ERR! Exit status 1
3:32:27 PM: npm
3:32:27 PM: ERR!
3:32:27 PM: npm
3:32:27 PM:  ERR!
3:32:27 PM:  Failed at the climatescape@0.1.0 build script.
3:32:27 PM: npm ERR!
3:32:27 PM:  This is probably not a problem with npm. There is likely additional logging output above.
3:32:27 PM: npm
3:32:27 PM:  ERR! A complete log of this run can be found in:
3:32:27 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-06-02T14_32_27_730Z-debug.log
3:32:27 PM: 0 info it worked if it ends with ok
3:32:27 PM: 1 verbose cli [ '/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node',
3:32:27 PM: 1 verbose cli   '/opt/buildhome/.nvm/versions/node/v10.20.1/bin/npm',
3:32:27 PM: 1 verbose cli   'run',
3:32:27 PM: 1 verbose cli   'build' ]
3:32:27 PM: 2 info using npm@6.14.4
3:32:27 PM: 3 info using node@v10.20.1
3:32:27 PM: 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
3:32:27 PM: 5 info lifecycle climatescape@0.1.0~prebuild: climatescape@0.1.0
3:32:27 PM: 6 info lifecycle climatescape@0.1.0~build: climatescape@0.1.0
3:32:27 PM: 7 verbose lifecycle climatescape@0.1.0~build: unsafe-perm in lifecycle true
3:32:27 PM: 8 verbose lifecycle climatescape@0.1.0~build: PATH: /opt/buildhome/.nvm/versions/node/v10.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/build/repo/goodhere/site/node_modules/.bin:/opt/build/repo/goodhere/site/node_modules/.bin:/opt/build/repo/goodhere/node_modules/.bin:/opt/build/repo/node_modules/.bin:/opt/build/node_modules/.bin:/opt/node_modules/.bin:/node_modules/.bin:/opt/buildhome/.nvm/versions/node/v10.20.1/bin:/opt/buildhome/.wasmer/bin:/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:/opt/build/repo/goodhere/site/node_modules/.bin:/opt/buildhome/.rvm/gems/ruby-2.6.2/bin:/opt/buildhome/.rvm/gems/ruby-2.6.2@global/bin:/opt/buildhome/.rvm/rubies/ruby-2.6.2/bin:/opt/buildhome/.rvm/bin:/opt/buildhome/.nvm/versions/node/v10.20.1/bin:/opt/buildhome/python2.7/bin:/opt/buildhome/.swiftenv/bin:/opt/buildhome/.swiftenv/shims:/opt/buildhome/.php:/opt/buildhome/.binrc/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/buildhome/.cask/bin:/opt/buildhome/.gimme/bin:/opt/buildhome/.dotnet/tools:/opt/buildhome/.dotnet:/opt/buildhome/.wasmer/globals/wapm_packages/.bin
3:32:27 PM: 9 verbose lifecycle climatescape@0.1.0~build: CWD: /opt/build/repo/goodhere/site
3:32:27 PM: 10 silly lifecycle climatescape@0.1.0~build: Args: [ '-c', 'gatsby build' ]
3:32:27 PM: 11 silly lifecycle climatescape@0.1.0~build: Returned: code: 1  signal: null
3:32:27 PM: 12 info lifecycle climatescape@0.1.0~build: Failed to exec build script
3:32:27 PM: 13 verbose stack Error: climatescape@0.1.0 build: `gatsby build`
3:32:27 PM: 13 verbose stack Exit status 1
3:32:27 PM: 13 verbose stack     at EventEmitter.<anonymous> (/opt/buildhome/.nvm/versions/node/v10.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
3:32:27 PM: 13 verbose stack     at EventEmitter.emit (events.js:198:13)
3:32:27 PM: 13 verbose stack     at ChildProcess.<anonymous> (/opt/buildhome/.nvm/versions/node/v10.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
3:32:27 PM: 13 verbose stack     at ChildProcess.emit (events.js:198:13)
3:32:27 PM: 13 verbose stack     at maybeClose (internal/child_process.js:982:16)
3:32:27 PM: 13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
3:32:27 PM: 14 verbose pkgid climatescape@0.1.0
3:32:27 PM: 15 verbose cwd /opt/build/repo/goodhere/site
3:32:27 PM: 16 verbose Linux 4.14.138+
3:32:27 PM: 17 verbose argv "/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node" "/opt/buildhome/.nvm/versions/node/v10.20.1/bin/npm" "run" "build"
3:32:27 PM: 18 verbose node v10.20.1
3:32:27 PM: 19 verbose npm  v6.14.4
3:32:27 PM: 20 error code ELIFECYCLE
3:32:27 PM: 21 error errno 1
3:32:27 PM: 22 error climatescape@0.1.0 build: `gatsby build`
3:32:27 PM: 22 error Exit status 1
3:32:27 PM: 23 error Failed at the climatescape@0.1.0 build script.
3:32:27 PM: 23 error This is probably not a problem with npm. There is likely additional logging output above.
3:32:27 PM: 24 verbose exit [ 1, true ]
3:34:27 PM: ​
3:34:27 PM: ┌─────────────────────────────┐
3:34:27 PM: │   "build.command" failed    │
3:34:27 PM: └─────────────────────────────┘
3:34:27 PM: ​
3:34:27 PM:   Error message
3:34:27 PM:   Command failed with exit code 1: npm run build || (cat /opt/buildhome/.npm/_logs/*-debug.log ; sleep 120 ; false)

Hey @benr,
Yeah, unfortunately, digging into this code is beyond what we’re able to help with. I think you’re right that getting the categoryCounts is taking too long. I would try removing that count and seeing if you can get builds working without it, maybe around here:

If you get new errors after that, or run into something that seems Netlify-related, come back and let us know and we’ll keep digging.

Thanks for the follow up @jen - think I’ve found the issue, which is not a Netlify issue, so happy to close this thread. Thanks!