Starting on June 10th we started receiving failed builds for a Gatsby site that was previously being deployed without any issues. If we select “Clear cache and deploy site” then the build succeeds (If we don’t run into the 15-minute timeout). Local gatsby builds also succeed.
Things I have tried:
- Updating gatsby and all plugins and dependencies
CI= npm run build
-
netlify-plugin-debug-cache
to try to retrieve the artifacts
Our site is https://ourlifeloop.netlify.app/
Here is the relevant error in the build output:
error Error in "/opt/build/repo/node_modules/gatsby-transformer-sharp/gatsby-node.js": Invalid or unexpected token
Full build output:
9:06:11 AM: Build ready to start
9:06:15 AM: build-image version: 30f629161c0736b1a3ecd8b418e5eeffab5c0faf
9:06:15 AM: build-image tag: v3.3.14
9:06:15 AM: buildbot version: 27b83403cb00321ec1f6c83cbc242f21a749fb29
9:06:15 AM: Fetching cached dependencies
9:06:15 AM: Starting to download cache of 938.7MB
9:06:25 AM: Finished downloading cache in 10.052025635s
9:06:25 AM: Starting to extract cache
9:06:57 AM: Finished extracting cache in 32.232821548s
9:06:57 AM: Finished fetching cache in 42.572334126s
9:06:57 AM: Starting to prepare the repo for build
9:06:58 AM: Preparing Git Reference pull/69/head
9:07:04 AM: Starting build script
9:07:04 AM: Installing dependencies
9:07:05 AM: Started restoring cached node version
9:07:19 AM: Finished restoring cached node version
9:07:19 AM: Attempting node version '12' from .nvmrc
9:07:21 AM: Downloading and installing node v12.18.0...
9:07:21 AM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
9:07:21 AM: Computing checksum with sha256sum
9:07:21 AM: Checksums matched!
9:07:24 AM: Now using node v12.18.0 (npm v6.14.4)
9:07:25 AM: Started restoring cached build plugins
9:07:25 AM: Finished restoring cached build plugins
9:07:25 AM: Attempting ruby version 2.6.2, read from environment
9:07:27 AM: Using ruby version 2.6.2
9:07:27 AM: Using PHP version 5.6
9:07:27 AM: 5.2 is already installed.
9:07:27 AM: Using Swift version 5.2
9:07:27 AM: Started restoring cached node modules
9:07:27 AM: Finished restoring cached node modules
9:07:27 AM: Installing NPM modules using NPM version 6.14.4
9:08:40 AM: > sharp@0.25.4 install /opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp
9:08:40 AM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
9:08:40 AM: info
9:08:40 AM: sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
9:08:42 AM: > sharp@0.25.4 install /opt/build/repo/node_modules/gatsby-transformer-sharp/node_modules/sharp
9:08:42 AM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
9:08:43 AM: info
9:08:43 AM: sharp Using cached /opt/buildhome/.npm/_libvips/libvips-8.9.1-linux-x64.tar.gz
9:08:44 AM: > sharp@0.23.4 install /opt/build/repo/node_modules/sharp
9:08:44 AM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
9:08:44 AM: info
9:08:44 AM: sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
9:08:46 AM: > websocket@1.0.31 install /opt/build/repo/node_modules/websocket
9:08:46 AM: > (node-gyp rebuild 2> builderror.log) || (exit 0)
9:08:48 AM: make: Entering directory '/opt/build/repo/node_modules/websocket/build'
9:08:48 AM: CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
9:08:49 AM: SOLINK_MODULE(target) Release/obj.target/bufferutil.node
9:08:49 AM: COPY Release/bufferutil.node
9:08:49 AM: CXX(target) Release/obj.target/validation/src/validation.o
9:08:50 AM: SOLINK_MODULE(target) Release/obj.target/validation.node
9:08:50 AM: COPY Release/validation.node
9:08:50 AM: make: Leaving directory '/opt/build/repo/node_modules/websocket/build'
9:08:51 AM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass
9:08:51 AM: > node scripts/install.js
9:08:51 AM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.node
9:08:54 AM: Download complete
9:08:54 AM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
9:08:54 AM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-72_binding.node
9:08:54 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/bmp/node_modules/core-js
9:08:54 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:54 AM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
9:08:54 AM: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
9:08:54 AM: > https://opencollective.com/core-js
9:08:54 AM: > https://www.patreon.com/zloirock
9:08:54 AM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
9:08:54 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/core/node_modules/core-js
9:08:54 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:54 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/custom/node_modules/core-js
9:08:54 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:54 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/gif/node_modules/core-js
9:08:54 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/jpeg/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-blit/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-blur/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-circle/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-color/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-contain/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-cover/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-crop/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:55 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-displace/node_modules/core-js
9:08:55 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-dither/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-fisheye/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-flip/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-gaussian/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-invert/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-mask/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-normalize/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-print/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:56 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-resize/node_modules/core-js
9:08:56 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-rotate/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-scale/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-shadow/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugin-threshold/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/plugins/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/png/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/tiff/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/types/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:57 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/@jimp/utils/node_modules/core-js
9:08:57 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:58 AM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/core-js
9:08:58 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:58 AM: > core-js-pure@3.6.5 postinstall /opt/build/repo/node_modules/core-js-pure
9:08:58 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:58 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/favicons/node_modules/core-js
9:08:58 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:58 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/jimp/node_modules/core-js
9:08:58 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:58 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/potrace/node_modules/core-js
9:08:58 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:08:59 AM: > gatsby-telemetry@1.3.11 postinstall /opt/build/repo/node_modules/gatsby-telemetry
9:08:59 AM: > node src/postinstall.js || true
9:08:59 AM: > gatsby-cli@2.12.45 postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
9:08:59 AM: > node scripts/postinstall.js
9:08:59 AM: > gatsby@2.23.3 postinstall /opt/build/repo/node_modules/gatsby
9:08:59 AM: > node scripts/postinstall.js
9:09:00 AM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass
9:09:00 AM: > node scripts/build.js
9:09:00 AM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
9:09:00 AM: Testing binary
9:09:00 AM: Binary is fine
9:09:00 AM: > nodemailer@6.4.8 postinstall /opt/build/repo/node_modules/nodemailer
9:09:00 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:09:00 AM: === Nodemailer 6.4.8 ===
9:09:00 AM:
9:09:00 AM: Thank you for using Nodemailer for your email sending needs! While Nodemailer
9:09:00 AM: itself is mostly meant to be a SMTP client there are other related projects in
9:09:00 AM: the Nodemailer project as well.
9:09:00 AM:
9:09:00 AM: > IMAP API ( https://imapapi.com ) is a server application to easily access
9:09:00 AM: IMAP accounts via REST API
9:09:00 AM: > ImapFlow ( https://imapflow.com/ ) is an async IMAP client library for
9:09:00 AM: Node.js
9:09:00 AM: > NodemailerApp ( https://nodemailer.com/app/ ) is a cross platform GUI app to
9:09:00 AM: debug emails
9:09:00 AM: > Project Pending ( https://projectpending.com/ ) allows you to park your
9:09:00 AM: project domains
9:09:00 AM: > Ethereal Email ( https://ethereal.email/ ) is an email testing service that
9:09:00 AM: accepts all your test emails
9:09:00 AM:
9:09:00 AM:
9:09:01 AM: .
9:09:01 AM: .
9:09:02 AM: .
9:09:02 AM: .
9:09:03 AM: .
9:09:03 AM: .
9:09:04 AM: .
9:09:04 AM: .
9:09:04 AM:
9:09:09 AM: npm WARN react-redux@4.4.10 requires a peer of redux@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
9:09:09 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
9:09:09 AM: npm
9:09:09 AM: WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:09:09 AM: npm
9:09:09 AM: WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/chokidar/node_modules/fsevents):
9:09:09 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:09:09 AM: added 884 packages from 681 contributors, removed 243 packages, updated 773 packages and audited 3036 packages in 99.667s
9:09:13 AM: 169 packages are looking for funding
9:09:13 AM: run `npm fund` for details
9:09:13 AM: found 1 low severity vulnerability
9:09:13 AM: run `npm audit fix` to fix them, or `npm audit` for details
9:09:13 AM: NPM modules installed
9:09:13 AM: Started restoring cached go cache
9:09:13 AM: Finished restoring cached go cache
9:09:13 AM: go version go1.12 linux/amd64
9:09:13 AM: go version go1.12 linux/amd64
9:09:13 AM: Installing missing commands
9:09:13 AM: Verify run directory
9:09:15 AM:
9:09:15 AM: ┌─────────────────────────────┐
9:09:15 AM: │ Netlify Build │
9:09:15 AM: └─────────────────────────────┘
9:09:15 AM:
9:09:15 AM: ❯ Version
9:09:15 AM: @netlify/build 2.0.8
9:09:15 AM:
9:09:15 AM: ❯ Flags
9:09:15 AM: mode: buildbot
9:09:15 AM:
9:09:15 AM: ❯ Current directory
9:09:15 AM: /opt/build/repo
9:09:15 AM:
9:09:15 AM: ❯ Config file
9:09:15 AM: /opt/build/repo/netlify.toml
9:09:15 AM:
9:09:15 AM: ❯ Context
9:09:15 AM: deploy-preview
9:09:15 AM:
9:09:15 AM: ❯ Loading plugins
9:09:15 AM: - @netlify/plugin-functions-core@2.0.8 from core
9:09:15 AM: - netlify-plugin-gatsby-cache@0.3.0 from netlify.toml
9:09:15 AM: - netlify-plugin-debug-cache@1.0.3 from netlify.toml
9:09:16 AM:
9:09:16 AM: ┌────────────────────────────────────────────────────────┐
9:09:16 AM: │ 1. onPreBuild command from netlify-plugin-gatsby-cache │
9:09:16 AM: └────────────────────────────────────────────────────────┘
9:09:16 AM:
9:09:16 AM: No Gatsby cache found. Building fresh.
9:09:16 AM:
9:09:16 AM: (netlify-plugin-gatsby-cache onPreBuild completed in 265ms)
9:09:16 AM:
9:09:16 AM: ┌────────────────────────────────────┐
9:09:16 AM: │ 2. build.command from netlify.toml │
9:09:16 AM: └────────────────────────────────────┘
9:09:16 AM:
9:09:16 AM: $ CI= npm run build
9:09:17 AM: > lifeloop-marketing@1.0.0 build /opt/build/repo
9:09:17 AM: > gatsby build
9:09:21 AM:
9:09:21 AM:
9:09:21 AM: success open and validate gatsby-configs - 0.085s
9:09:21 AM: error Error in "/opt/build/repo/node_modules/gatsby-transformer-sharp/gatsby-node.js": Invalid or unexpected token
9:09:21 AM:
9:09:21 AM:
9:09:21 AM: Error: /opt/build/repo/node_modules/pixelmatch/index.js:1
9:09:21 AM: (function (exports, require, module, __filename, __dirname) {
9:09:21 AM: SyntaxError: Invalid or unexpected token
9:09:21 AM:
9:09:21 AM: - v8-compile-cache.js:226 NativeCompileCache._moduleCompile
9:09:21 AM: [repo]/[v8-compile-cache]/v8-compile-cache.js:226:18
9:09:21 AM:
9:09:21 AM: - v8-compile-cache.js:172 Module._compile
9:09:21 AM: [repo]/[v8-compile-cache]/v8-compile-cache.js:172:36
9:09:21 AM:
9:09:21 AM: - loader.js:1158 Object.Module._extensions..js
9:09:21 AM: internal/modules/cjs/loader.js:1158:10
9:09:21 AM:
9:09:21 AM: - loader.js:986 Module.load
9:09:21 AM: internal/modules/cjs/loader.js:986:32
9:09:21 AM:
9:09:21 AM: - loader.js:879 Function.Module._load
9:09:21 AM: internal/modules/cjs/loader.js:879:14
9:09:21 AM:
9:09:21 AM: - loader.js:1026 Module.require
9:09:21 AM: internal/modules/cjs/loader.js:1026:19
9:09:21 AM:
9:09:21 AM: - v8-compile-cache.js:159 require
9:09:21 AM: [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20
9:09:21 AM:
9:09:21 AM: - index.js:144 Object.<anonymous>
9:09:21 AM: [repo]/[potrace]/[@jimp]/core/dist/index.js:144:42
9:09:21 AM:
9:09:21 AM: - v8-compile-cache.js:178 Module._compile
9:09:21 AM: [repo]/[v8-compile-cache]/v8-compile-cache.js:178:30
9:09:21 AM:
9:09:21 AM: - loader.js:1158 Object.Module._extensions..js
9:09:21 AM: internal/modules/cjs/loader.js:1158:10
9:09:21 AM:
9:09:21 AM: - loader.js:986 Module.load
9:09:21 AM: internal/modules/cjs/loader.js:986:32
9:09:21 AM:
9:09:21 AM: - loader.js:879 Function.Module._load
9:09:21 AM: internal/modules/cjs/loader.js:879:14
9:09:21 AM:
9:09:21 AM: - loader.js:1026 Module.require
9:09:21 AM: internal/modules/cjs/loader.js:1026:19
9:09:21 AM:
9:09:21 AM: - v8-compile-cache.js:159 require
9:09:21 AM: [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20
9:09:21 AM:
9:09:21 AM: - index.js:40 Object.<anonymous>
9:09:21 AM: [repo]/[potrace]/[@jimp]/custom/dist/index.js:40:37
9:09:21 AM:
9:09:21 AM:
9:09:21 AM: not finished load plugins - 0.792s
9:09:21 AM: npm
9:09:21 AM: ERR! code ELIFECYCLE
9:09:21 AM: npm ERR! errno 1
9:09:21 AM: npm
9:09:21 AM: ERR! lifeloop-marketing@1.0.0 build: `gatsby build`
9:09:21 AM: npm ERR! Exit status 1
9:09:21 AM: npm ERR!
9:09:21 AM: npm
9:09:21 AM: ERR! Failed at the lifeloop-marketing@1.0.0 build script.
9:09:21 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
9:09:21 AM: npm
9:09:21 AM: ERR! A complete log of this run can be found in:
9:09:21 AM: npm ERR! /opt/buildhome/.npm/_logs/2020-06-16T14_09_21_904Z-debug.log
9:09:21 AM:
9:09:21 AM: ┌──────────────────────────────────────────────────┐
9:09:21 AM: │ 3. onEnd command from netlify-plugin-debug-cache │
9:09:21 AM: └──────────────────────────────────────────────────┘
9:09:21 AM:
9:09:21 AM: Saving cache file manifest for debugging...
9:09:22 AM: Cache file count: 0
9:09:22 AM: Cache manifest saved to public/cache-output.json
9:09:22 AM: Please download the build files to inspect cache-output.json.
9:09:22 AM: Instructions => http://bit.ly/netlify-dl-cache
9:09:22 AM:
9:09:22 AM: (netlify-plugin-debug-cache onEnd completed in 286ms)
9:09:22 AM:
9:09:22 AM: ┌─────────────────────────────┐
9:09:22 AM: │ "build.command" failed │
9:09:22 AM: └─────────────────────────────┘
9:09:22 AM:
9:09:22 AM: Error message
9:09:22 AM: Command failed with exit code 1: CI= npm run build
9:09:22 AM:
9:09:22 AM: Error location
9:09:22 AM: In build.command from netlify.toml:
9:09:22 AM: CI= npm run build
9:09:22 AM:
9:09:22 AM: Resolved config
9:09:22 AM: build:
9:09:22 AM: command: CI= npm run build
9:09:22 AM: functions: /opt/build/repo/functions
9:09:22 AM: publish: /opt/build/repo/public
9:09:22 AM: plugins:
9:09:22 AM: - inputs: {}
9:09:22 AM: origin: config
9:09:22 AM: package: netlify-plugin-gatsby-cache
9:09:22 AM: - inputs: {}
9:09:22 AM: origin: config
9:09:22 AM: package: netlify-plugin-debug-cache
9:09:22 AM: Caching artifacts
9:09:22 AM: Started saving node modules
9:09:22 AM: Finished saving node modules
9:09:22 AM: Started saving build plugins
9:09:22 AM: Finished saving build plugins
9:09:22 AM: Started saving pip cache
9:09:23 AM: Finished saving pip cache
9:09:23 AM: Started saving emacs cask dependencies
9:09:23 AM: Finished saving emacs cask dependencies
9:09:23 AM: Started saving maven dependencies
9:09:23 AM: Finished saving maven dependencies
9:09:23 AM: Started saving boot dependencies
9:09:23 AM: Finished saving boot dependencies
9:09:23 AM: Started saving go dependencies
9:09:23 AM: Finished saving go dependencies
9:09:43 AM: Error running command: Build script returned non-zero exit code: 1
9:09:43 AM: Failing build: Failed to build site
9:09:43 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1
9:09:43 AM: Finished processing build request in 3m28.250201081s