Hello,
Site: be-web.netlify.app
The build for our site started failing today without any changes on our end. While I was investigating I noticed this Incident - Netlify Status - Investigating reports of build failures and thought the issue had been resolved, but I started seeing them again a couple hours later.
Is this due to a change by Netlify that can be restored or will I need to make changes to be able to start building again? I’d prefer to not make any changes if possible. Please advise.
Thanks,
-Ken
Build log:
2:31:25 PM: build-image version: 0bc34a4ade77d89b410ec23c508464028dd4b785 (focal)
2:31:25 PM: buildbot version: 0bc34a4ade77d89b410ec23c508464028dd4b785
2:31:25 PM: Fetching cached dependencies
2:31:25 PM: Starting to download cache of 480.5MB
2:31:29 PM: Finished downloading cache in 3.716s
2:31:29 PM: Starting to extract cache
2:31:34 PM: Finished extracting cache in 5.563s
2:31:34 PM: Finished fetching cache in 9.345s
2:31:34 PM: Starting to prepare the repo for build
2:31:35 PM: Preparing Git Reference refs/heads/master
2:31:35 PM: Parsing package.json dependencies
2:31:36 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: ‘src/lambda’ versus ‘’ in the Netlify UI
2:31:37 PM: Starting build script
2:31:37 PM: Installing dependencies
2:31:37 PM: Python version set to 2.7
2:31:37 PM: Started restoring cached Node.js version
2:31:37 PM: Finished restoring cached Node.js version
2:31:37 PM: Attempting Node.js version ‘12.13.1’ from .nvmrc
2:31:38 PM: v12.13.1 is already installed.
2:31:38 PM: Now using node v12.13.1 (npm v6.12.1)
2:31:38 PM: Started restoring cached build plugins
2:31:38 PM: Finished restoring cached build plugins
2:31:38 PM: Attempting Ruby version 2.6.2, read from environment
2:31:38 PM: Started restoring cached Ruby version
2:31:38 PM: Finished restoring cached Ruby version
2:31:39 PM: Using Ruby version 2.6.2
2:31:39 PM: Using PHP version 8.0
2:31:39 PM: WARNING: The environment variable ‘NODE_ENV’ is set to ‘production’. Any ‘devDependencies’ in package.json will not be installed
2:31:39 PM: Started restoring cached corepack dependencies
2:31:39 PM: Finished restoring cached corepack dependencies
2:31:39 PM: Started restoring cached yarn cache
2:31:43 PM: Finished restoring cached yarn cache
2:31:43 PM: No yarn workspaces detected
2:31:43 PM: Started restoring cached node modules
2:31:43 PM: Finished restoring cached node modules
2:31:44 PM: Installing npm packages using Yarn version 1.17.0
2:31:44 PM: yarn install v1.17.0
2:31:44 PM: [1/4] Resolving packages…
2:31:44 PM: success Already up-to-date.
2:31:44 PM: Done in 0.55s.
2:31:44 PM: npm packages installed using Yarn
2:31:44 PM: Started restoring cached go cache
2:31:44 PM: Finished restoring cached go cache
2:31:44 PM: Installing Go version 1.12 (requested 1.12)
2:31:50 PM: go version go1.12 linux/amd64
2:31:50 PM: Detected 1 framework(s)
2:31:50 PM: “gatsby” at version “2.32.3”
2:31:50 PM: Installing missing commands
2:31:50 PM: Verify run directory
2:31:50 PM: Section completed: initializing
2:31:51 PM:
2:31:51 PM: Netlify Build
2:31:51 PM: ────────────────────────────────────────────────────────────────
2:31:51 PM:
2:31:51 PM: ❯ Version
2:31:51 PM: @netlify/build 29.5.4
2:31:51 PM:
2:31:51 PM: ❯ Flags
2:31:51 PM: baseRelDir: true
2:31:51 PM: buildId: 63e17fbba02d9d19d05e5b30
2:31:51 PM: deployId: 63e17fbba02d9d19d05e5b32
2:31:51 PM:
2:31:51 PM: ❯ Current directory
2:31:51 PM: /opt/build/repo
2:31:51 PM:
2:31:51 PM: ❯ Config file
2:31:51 PM: /opt/build/repo/netlify.toml
2:31:51 PM:
2:31:51 PM: ❯ Context
2:31:51 PM: production
2:31:52 PM:
2:31:52 PM: ❯ Installing plugins
2:31:52 PM: - @netlify/plugin-gatsby@1.0.3
2:32:00 PM:
2:32:00 PM: ❯ Loading plugins
2:32:00 PM: - @netlify/plugin-gatsby@1.0.3 from undefined
2:32:00 PM:
2:32:00 PM: ❯ Outdated plugins
2:32:00 PM: - @netlify/plugin-gatsby@1.0.3: latest version is 3.5.1
2:32:00 PM: Migration guide: Release v2.0.0 · netlify/netlify-plugin-gatsby · GitHub
2:32:00 PM: To upgrade this plugin, please remove it from “netlify.toml” and install it from the Netlify plugins directory instead (Netlify App)
2:32:01 PM:
2:32:01 PM: 1. @netlify/plugin-gatsby (onPreBuild event)
2:32:01 PM: ────────────────────────────────────────────────────────────────
2:32:01 PM:
2:32:01 PM: No Gatsby cache found. Building fresh.
2:32:01 PM: Add gatsby-plugin-netlify
to gatsby-config.js
if you would like to support Gatsby redirects.
2:32:01 PM: The plugin ‘gatsby-plugin-netlify-cache’ is not compatible with the Gatsby build plugin
2:32:01 PM: Please uninstall gatsby-plugin-netlify-cache and remove it from your gatsby-config.js
2:32:01 PM:
2:32:01 PM: Plugin “@netlify/plugin-gatsby” failed
2:32:01 PM: ────────────────────────────────────────────────────────────────
2:32:01 PM:
2:32:01 PM: Error message
2:32:01 PM: Error: Incompatible Gatsby plugin installed
2:32:01 PM:
2:32:01 PM: Plugin details
2:32:01 PM: Package: @netlify/plugin-gatsby
2:32:01 PM: Version: 1.0.3
2:32:01 PM: Repository: git+https://github.com/netlify/netlify-plugin-gatsby.git
2:32:01 PM: npm link: @netlify/plugin-gatsby - npm
2:32:01 PM: Report issues: Issues · netlify/netlify-plugin-gatsby · GitHub
2:32:01 PM:
2:32:01 PM: Error location
2:32:01 PM: In “onPreBuild” event in “@netlify/plugin-gatsby” from undefined
2:32:01 PM:
2:32:01 PM: Resolved config
2:32:01 PM: build:
2:32:01 PM: command: yarn build
2:32:01 PM: commandOrigin: ui
2:32:01 PM: environment:
2:32:01 PM: - EXPERIENCE_API_KEY
2:32:01 PM: - EXPERIENCE_WIDGET_KEY
2:32:01 PM: - FAUNADB_ADMIN_SECRET
2:32:01 PM: - FAUNADB_CLIENT_SECRET
2:32:01 PM: - FAUNADB_SERVER_SECRET
2:32:01 PM: - GATSBY_ACCESSIBILITY_LINKS_SHOW
2:32:01 PM: - GATSBY_CALCULATOR_FORM_COMM
2:32:01 PM: - GATSBY_CALCULATOR_FORM_CORP
2:32:01 PM: - GATSBY_CALCULATOR_FORM_G2H
2:32:01 PM: - GATSBY_CONTACT_FORM_SPLASH
2:32:01 PM: - GATSBY_FIREBASE_API_KEY
2:32:01 PM: - GATSBY_FIREBASE_API_KEY_CARE
2:32:01 PM: - GATSBY_FIREBASE_API_KEY_DEV
2:32:01 PM: - GATSBY_FIREBASE_APP_ID
2:32:01 PM: - GATSBY_FIREBASE_AUTH_DOMAIN
2:32:01 PM: - GATSBY_FIREBASE_AUTH_DOMAIN_CARE
2:32:01 PM: - GATSBY_FIREBASE_AUTH_DOMAIN_DEV
2:32:01 PM: - GATSBY_FIREBASE_DATABASE_URL
2:32:01 PM: - GATSBY_FIREBASE_DATABASE_URL_CARE
2:32:01 PM: - GATSBY_FIREBASE_DATABASE_URL_DEV
2:32:01 PM: - GATSBY_FIREBASE_DBUSER_EMAIL
2:32:01 PM: - GATSBY_FIREBASE_DBUSER_PASSWORD
2:32:01 PM: - GATSBY_FIREBASE_MESSAGING_SENDER_ID
2:32:01 PM: - GATSBY_FIREBASE_MESSAGING_SENDER_ID_CARE
2:32:01 PM: - GATSBY_FIREBASE_MESSAGING_SENDER_ID_DEV
2:32:01 PM: - GATSBY_FIREBASE_PROJECT_ID
2:32:01 PM: - GATSBY_FIREBASE_PROJECT_ID_CARE
2:32:01 PM: - GATSBY_FIREBASE_PROJECT_ID_DEV
2:32:01 PM: - GATSBY_FIREBASE_STORAGE_BUCKET
2:32:01 PM: - GATSBY_FIREBASE_STORAGE_BUCKET_CARE
2:32:01 PM: - GATSBY_FIREBASE_STORAGE_BUCKET_DEV
2:32:01 PM: - GATSBY_GOOGLE_GEOCODE_API_KEY
2:32:01 PM: - GATSBY_GOOGLE_MAP_API_KEY
2:32:01 PM: - GATSBY_INSTAGRAM_CLIENT_KEY
2:32:01 PM: - GATSBY_INSTAGRAM_REDIRECT_URL
2:32:01 PM: - GATSBY_ONETRUST_SCRIPT_KEY
2:32:01 PM: - GATSBY_ONETRUST_SCRIPT_KEY_DEV
2:32:01 PM: - GATSBY_PUBLISH_SITE_WEBHOOK
2:32:01 PM: - GATSBY_PUBLISH_SPLASH_SITE_WEBHOOK
2:32:01 PM: - GATSBY_SENDEMAIL_BCC
2:32:01 PM: - GATSBY_SENDEMAIL_FROM
2:32:01 PM: - GATSBY_SENDEMAIL_PASSWORD
2:32:01 PM: - GATSBY_SENDEMAIL_REPLYTO
2:32:01 PM: - GATSBY_SENDEMAIL_THRESHOLD_MINUTES
2:32:01 PM: - GATSBY_SENDEMAIL_USER
2:32:01 PM: - GATSBY_SIGNAL_INTENT_AFFORDABILITY_GUID
2:32:01 PM: - GATSBY_SIGNAL_INTENT_INCOME_REQ_GUID
2:32:01 PM: - GATSBY_SIGNAL_INTENT_MORTGAGE_CALC_GUID
2:32:01 PM: - GATSBY_SIGNAL_INTENT_ORG_GUID
2:32:01 PM: - GATSBY_SIGNAL_INTENT_REFINANCE_CALC_GUID
2:32:01 PM: - GATSBY_SIGNAL_INTENT_RENT_BUY_GUID
2:32:01 PM: - GATSBY_UPLOADCARE_PUBLIC_KEY
2:32:01 PM: - INSTAGRAM_CLIENT_KEY
2:32:01 PM: - INSTAGRAM_REDIRECT_URL
2:32:01 PM: - NODE_ENV
2:32:01 PM: - SITE_RECAPTCHA_KEY
2:32:01 PM: - SITE_RECAPTCHA_SECRET
2:32:01 PM: - SOCIAL_SURVEY_API_KEY
2:32:01 PM: publish: /opt/build/repo/public
2:32:01 PM: publishOrigin: ui
2:32:01 PM: functionsDirectory: /opt/build/repo/src/lambda
2:32:01 PM: plugins:
2:32:01 PM: - inputs: {}
2:32:01 PM: package: ‘@netlify/plugin-gatsby’
2:32:01 PM: Caching artifacts
2:32:01 PM: Started saving node modules
2:32:01 PM: Finished saving node modules
2:32:01 PM: Started saving build plugins
2:32:01 PM: Finished saving build plugins
2:32:01 PM: Started saving corepack cache
2:32:01 PM: Finished saving corepack cache
2:32:01 PM: Started saving yarn cache
2:32:06 PM: Finished saving yarn cache
2:32:06 PM: Started saving pip cache
2:32:06 PM: Finished saving pip cache
2:32:06 PM: Started saving emacs cask dependencies
2:32:06 PM: Finished saving emacs cask dependencies
2:32:06 PM: Started saving maven dependencies
2:32:06 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
2:32:06 PM: Finished saving maven dependencies
2:32:06 PM: Started saving boot dependencies
2:32:06 PM: Finished saving boot dependencies
2:32:06 PM: Started saving rust rustup cache
2:32:06 PM: Finished saving rust rustup cache
2:32:06 PM: Started saving go dependencies
2:32:06 PM: Finished saving go dependencies
2:32:06 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:32:06 PM: Failing build: Failed to build site
2:32:06 PM: Finished processing build request in 41.478s