Skip to content

The build is failing ☹️  #53

@digitaldrk

Description

@digitaldrk
7:34:33 PM: Waiting for other deploys from your team to complete
7:35:58 PM: Build ready to start
7:36:00 PM: build-image version: 3571f0130496395a23bffe9820bc78b4f73a6234
7:36:00 PM: build-image tag: v3.7.0
7:36:00 PM: buildbot version: 062b22a485a24c2a97f654900d589269335787b6
7:36:00 PM: Fetching cached dependencies
7:36:00 PM: Failed to fetch cache, continuing with build
7:36:00 PM: Starting to prepare the repo for build
7:36:00 PM: No cached dependencies found. Cloning fresh repo
7:36:00 PM: git clone https://github.com/swfl-coders/website
7:36:01 PM: Preparing Git Reference refs/heads/master
7:36:02 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
7:36:02 PM: Starting build script
7:36:02 PM: Installing dependencies
7:36:02 PM: Python version set to 2.7
7:36:04 PM: v12.18.0 is already installed.
7:36:04 PM: Now using node v12.18.0 (npm v6.14.4)
7:36:04 PM: Started restoring cached build plugins
7:36:04 PM: Finished restoring cached build plugins
7:36:05 PM: Attempting ruby version 2.7.1, read from environment
7:36:06 PM: Using ruby version 2.7.1
7:36:06 PM: Using PHP version 5.6
7:36:06 PM: Started restoring cached node modules
7:36:06 PM: Finished restoring cached node modules
7:36:06 PM: Installing NPM modules using NPM version 6.14.4
7:36:08 PM: npm WARN deprecated gatsby-image@2.11.0: This package has been deprecated in favor of gatsby-plugin-image. The migration guide can be found here: https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/.
7:36:10 PM: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
7:36:11 PM: npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
7:36:11 PM: npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
7:36:12 PM: npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
7:36:13 PM: npm WARN deprecated har-validator@5.1.5: this library is no longer supported
7:36:14 PM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
7:36:15 PM: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
7:36:15 PM: npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
7:36:15 PM: npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
7:36:16 PM: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
7:36:19 PM: npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
7:36:20 PM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
7:36:24 PM: npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
7:36:26 PM: npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
7:37:12 PM: > sharp@0.27.2 install /opt/build/repo/node_modules/sharp
7:37:12 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
7:37:14 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-linux-x64.tar.br
7:37:16 PM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass
7:37:16 PM: > node scripts/install.js
7:37:16 PM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.node
7:37:16 PM: Download complete
7:37:16 PM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
7:37:17 PM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-72_binding.node
7:37:17 PM: > core-js@3.9.1 postinstall /opt/build/repo/node_modules/core-js
7:37:17 PM: > node -e "try{require('./postinstall')}catch(e){}"
7:37:17 PM: > core-js-pure@3.9.1 postinstall /opt/build/repo/node_modules/core-js-pure
7:37:17 PM: > node -e "try{require('./postinstall')}catch(e){}"
7:37:18 PM: > gatsby-telemetry@1.10.1 postinstall /opt/build/repo/node_modules/gatsby-telemetry
7:37:18 PM: > node src/postinstall.js || true
7:37:19 PM: > mozjpeg@7.0.0 postinstall /opt/build/repo/node_modules/mozjpeg
7:37:19 PM: > node lib/install.js
7:37:19 PM:   ✔ mozjpeg pre-build test passed successfully
7:37:19 PM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/node_modules/pngquant-bin
7:37:19 PM: > node lib/install.js
7:37:20 PM:   ✔ pngquant pre-build test passed successfully
7:37:20 PM: > gatsby-cli@2.19.2 postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
7:37:20 PM: > node scripts/postinstall.js
7:37:20 PM: > gatsby@2.32.11 postinstall /opt/build/repo/node_modules/gatsby
7:37:20 PM: > node scripts/postinstall.js
7:37:20 PM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass
7:37:20 PM: > node scripts/build.js
7:37:20 PM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
7:37:20 PM: Testing binary
7:37:20 PM: Binary is fine
7:37:22 PM: npm notice created a lockfile as package-lock.json. You should commit this file.
7:37:22 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
7:37:22 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
7:37:22 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
7:37:22 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
7:37:22 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
7:37:22 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
7:37:22 PM: npm WARN tsutils@3.21.0 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.
7:37:22 PM: npm WARN ts-node@9.1.1 requires a peer of typescript@>=2.7 but none is installed. You must install peer dependencies yourself.
7:37:22 PM: added 2525 packages from 1462 contributors and audited 2530 packages in 75.11s
7:37:24 PM: 205 packages are looking for funding
7:37:24 PM:   run `npm fund` for details
7:37:24 PM: found 0 vulnerabilities
7:37:24 PM: NPM modules installed
7:37:24 PM: Started restoring cached go cache
7:37:24 PM: Finished restoring cached go cache
7:37:24 PM: go version go1.14.4 linux/amd64
7:37:24 PM: go version go1.14.4 linux/amd64
7:37:24 PM: Installing missing commands
7:37:24 PM: Verify run directory
7:37:26 PM: ​
7:37:26 PM: ────────────────────────────────────────────────────────────────
7:37:26 PM:   Netlify Build                                                 
7:37:26 PM: ────────────────────────────────────────────────────────────────
7:37:26 PM: ​
7:37:26 PM: ❯ Version
7:37:26 PM:   @netlify/build 9.9.3
7:37:26 PM: ​
7:37:26 PM: ❯ Flags
7:37:26 PM:   apiHost: api.netlify.com
7:37:26 PM:   cacheDir: /opt/build/cache
7:37:26 PM:   deployId: 604ab71988eb7b0008675ae6
7:37:26 PM:   mode: buildbot
7:37:26 PM: ​
7:37:26 PM: ❯ Current directory
7:37:26 PM:   /opt/build/repo
7:37:26 PM: ​
7:37:26 PM: ❯ Config file
7:37:26 PM:   No config file was defined: using default values.
7:37:26 PM: ​
7:37:26 PM: ❯ Context
7:37:26 PM:   production
7:37:26 PM: ​
7:37:26 PM: ────────────────────────────────────────────────────────────────
7:37:26 PM:   1. Build command from Netlify app                             
7:37:26 PM: ────────────────────────────────────────────────────────────────
7:37:26 PM: ​
7:37:26 PM: $ gatsby build
7:37:29 PM: success open and validate gatsby-configs - 0.043s
7:37:30 PM: success load plugins - 0.806s
7:37:30 PM: success onPreInit - 0.090s
7:37:30 PM: success delete html and css files from previous builds - 0.003s
7:37:30 PM: success initialize cache - 0.006s
7:37:30 PM: success copy gatsby files - 0.042s
7:37:30 PM: success onPreBootstrap - 0.024s
7:37:30 PM: success createSchemaCustomization - 0.015s
7:37:30 PM: success Checking for changed pages - 0.000s
7:37:30 PM: success source and transform nodes - 0.142s
7:37:30 PM: success building schema - 0.336s
7:37:30 PM: info Total nodes: 69, SitePage nodes: 7 (use --verbose for breakdown)
7:37:30 PM: success createPages - 0.034s
7:37:30 PM: success Checking for changed pages - 0.000s
7:37:30 PM: success createPagesStatefully - 0.075s
7:37:30 PM: success update schema - 0.037s
7:37:30 PM: success onPreExtractQueries - 0.001s
7:37:31 PM: warning Using the global `graphql` tag is deprecated, and will not be supported in v3.
7:37:31 PM: Import it instead like:  import { graphql } from 'gatsby' in file:
7:37:31 PM: /opt/build/repo/src/pages/company_directory.js
7:37:31 PM: warning Using the global `graphql` tag is deprecated, and will not be supported in v3.
7:37:31 PM: Import it instead like:  import { graphql } from 'gatsby' in file:
7:37:31 PM: /opt/build/repo/src/pages/index.js
7:37:31 PM: success extract queries from components - 0.545s
7:37:31 PM: success write out redirect data - 0.001s
7:37:31 PM: success onPostBootstrap - 0.001s
7:37:31 PM: info bootstrap finished - 5.161s
7:37:31 PM: success run page queries - 0.136s - 10/10 73.56/s
7:37:31 PM: success write out requires - 0.006s
7:37:58 PM: success Building production JavaScript and CSS bundles - 26.742s
7:37:58 PM: success Rewriting compilation hashes - 0.003s
7:38:06 PM: success Building HTML renderer - 7.730s
7:38:07 PM: failed Building static HTML for pages - 1.026s
7:38:07 PM: error Building static HTML failed for path "/404/"
7:38:07 PM: 
7:38:07 PM:   4 | export default () => (
7:38:07 PM:   5 |   <React.Fragment>
7:38:07 PM: > 6 |     <Helmet>
7:38:07 PM:     |      ^
7:38:07 PM:   7 |           <title>SWFL Coders - 404</title> 
7:38:07 PM:   8 |     </Helmet>
7:38:07 PM:   9 |     <p>Sorry, we can't find what you're looking for.</p>
7:38:07 PM: 
7:38:07 PM:   WebpackError: ReferenceError: Helmet is not defined
7:38:07 PM:   
7:38:07 PM:   - 404.js:6 
7:38:07 PM:     src/pages/404.js:6:6
7:38:07 PM:   
7:38:07 PM:   - arrayLikeToArray.js:1 
7:38:07 PM:     node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js:1:1
7:38:07 PM:   
7:38:07 PM: 
7:38:07 PM: ​
7:38:07 PM: ────────────────────────────────────────────────────────────────
7:38:07 PM:   "build.command" failed                                        
7:38:07 PM: ────────────────────────────────────────────────────────────────
7:38:07 PM: ​
7:38:07 PM:   Error message
7:38:07 PM:   Command failed with exit code 1: gatsby build
7:38:07 PM: ​
7:38:07 PM:   Error location
7:38:07 PM:   In Build command from Netlify app:
7:38:07 PM:   gatsby build
7:38:07 PM: ​
7:38:07 PM:   Resolved config
7:38:07 PM:   build:
7:38:07 PM:     command: gatsby build
7:38:07 PM:     commandOrigin: ui
7:38:07 PM:     publish: /opt/build/repo/public
7:38:07 PM: Caching artifacts
7:38:07 PM: Started saving node modules
7:38:07 PM: Finished saving node modules
7:38:07 PM: Started saving build plugins
7:38:07 PM: Finished saving build plugins
7:38:07 PM: Started saving pip cache
7:38:07 PM: Finished saving pip cache
7:38:07 PM: Started saving emacs cask dependencies
7:38:07 PM: Finished saving emacs cask dependencies
7:38:07 PM: Started saving maven dependencies
7:38:07 PM: Finished saving maven dependencies
7:38:07 PM: Started saving boot dependencies
7:38:07 PM: Finished saving boot dependencies
7:38:07 PM: Started saving rust rustup cache
7:38:07 PM: Finished saving rust rustup cache
7:38:07 PM: Started saving go dependencies
7:38:07 PM: Finished saving go dependencies
7:38:10 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:38:10 PM: Failing build: Failed to build site
7:38:10 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
7:38:10 PM: Finished processing build request in 2m10.398318118s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions