Skip to content

Instantly share code, notes, and snippets.

@PotatoPope
Last active January 24, 2021 17:44
Show Gist options
  • Save PotatoPope/ef00c5d3b53fdb860ce29112cfa1a92e to your computer and use it in GitHub Desktop.
Save PotatoPope/ef00c5d3b53fdb860ce29112cfa1a92e to your computer and use it in GitHub Desktop.
netlify error
6:36:30 PM: Build ready to start
6:36:31 PM: build-image version: d84c79427e8f83c1ba17bcdd7b3fe38059376b68
6:36:31 PM: build-image tag: v3.6.1
6:36:31 PM: buildbot version: b5aa40ef41f8f8b302713d535e9a3180a3b0e301
6:36:31 PM: Building without cache
6:36:31 PM: Starting to prepare the repo for build
6:36:32 PM: No cached dependencies found. Cloning fresh repo
6:36:32 PM: git clone https://github.com/PotatoPope/portfolio
6:36:33 PM: Preparing Git Reference refs/heads/master
6:36:34 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: '' versus '/' in the Netlify UI
6:36:34 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
6:36:34 PM: Starting build script
6:36:34 PM: Installing dependencies
6:36:34 PM: Python version set to 2.7
6:36:35 PM: Downloading and installing node v10.23.1...
6:36:36 PM: Downloading https://nodejs.org/dist/v10.23.1/node-v10.23.1-linux-x64.tar.xz...
6:36:36 PM: Computing checksum with sha256sum
6:36:36 PM: Checksums matched!
6:36:38 PM: Now using node v10.23.1 (npm v6.14.10)
6:36:39 PM: Started restoring cached build plugins
6:36:39 PM: Finished restoring cached build plugins
6:36:39 PM: Attempting ruby version 2.6.2, read from environment
6:36:40 PM: Using ruby version 2.6.2
6:36:40 PM: Using PHP version 5.6
6:36:40 PM: Started restoring cached node modules
6:36:40 PM: Finished restoring cached node modules
6:36:41 PM: Installing NPM modules using NPM version 6.14.10
6:37:21 PM: > sharp@0.27.0 install /opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp
6:37:21 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
6:37:23 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-linux-x64.tar.br
6:37:25 PM: > sharp@0.23.4 install /opt/build/repo/node_modules/sharp
6:37:25 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
6:37:26 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
6:37:29 PM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass
6:37:29 PM: > node scripts/install.js
6:37:29 PM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-64_binding.node
6:37:30 PM: Download complete
6:37:30 PM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node
6:37:30 PM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-64_binding.node
6:37:30 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/core-js
6:37:30 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:37:30 PM: > core-js-pure@3.8.3 postinstall /opt/build/repo/node_modules/core-js-pure
6:37:30 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:37:30 PM: > core-js@3.8.3 postinstall /opt/build/repo/node_modules/gatsby/node_modules/core-js
6:37:30 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:37:31 PM: > gatsby-telemetry@1.9.0 postinstall /opt/build/repo/node_modules/gatsby-telemetry
6:37:31 PM: > node src/postinstall.js || true
6:37:31 PM: > mozjpeg@7.0.0 postinstall /opt/build/repo/node_modules/mozjpeg
6:37:31 PM: > node lib/install.js
6:37:31 PM: ✔ mozjpeg pre-build test passed successfully
6:37:32 PM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/node_modules/pngquant-bin
6:37:32 PM: > node lib/install.js
6:37:32 PM: ✔ pngquant pre-build test passed successfully
6:37:32 PM: > gatsby-cli@2.18.0 postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
6:37:32 PM: > node scripts/postinstall.js
6:37:32 PM: > gatsby@2.31.1 postinstall /opt/build/repo/node_modules/gatsby
6:37:32 PM: > node scripts/postinstall.js
6:37:32 PM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass
6:37:32 PM: > node scripts/build.js
6:37:33 PM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node
6:37:33 PM: Testing binary
6:37:33 PM: Binary is fine
6:37:36 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
6:37:36 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:37:36 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
6:37:36 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:37:36 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.1 (node_modules/fsevents):
6:37:36 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:37:36 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
6:37:36 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:37:36 PM: added 2454 packages from 1429 contributors and audited 2462 packages in 54.51s
6:37:39 PM: 156 packages are looking for funding
6:37:39 PM: run `npm fund` for details
6:37:39 PM: found 9 low severity vulnerabilities
6:37:39 PM: run `npm audit fix` to fix them, or `npm audit` for details
6:37:39 PM: NPM modules installed
6:37:39 PM: Started restoring cached go cache
6:37:39 PM: Finished restoring cached go cache
6:37:39 PM: Installing Go version 1.12
6:37:46 PM: unset GOOS;
6:37:46 PM: unset GOARCH;
6:37:46 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64';
6:37:46 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}";
6:37:46 PM: go version >&2;
6:37:46 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env"
6:37:46 PM: go version go1.12 linux/amd64
6:37:46 PM: Installing missing commands
6:37:46 PM: Verify run directory
6:37:48 PM: ​
6:37:48 PM: ────────────────────────────────────────────────────────────────
6:37:48 PM: Netlify Build
6:37:48 PM: ────────────────────────────────────────────────────────────────
6:37:48 PM: ​
6:37:48 PM: ❯ Version
6:37:48 PM: @netlify/build 8.1.0
6:37:48 PM: ​
6:37:48 PM: ❯ Flags
6:37:48 PM: deployId: 600db01e107a942bdc33ed3d
6:37:48 PM: mode: buildbot
6:37:48 PM: ​
6:37:48 PM: ❯ Current directory
6:37:48 PM: /opt/build/repo
6:37:48 PM: ​
6:37:48 PM: ❯ Config file
6:37:48 PM: No config file was defined: using default values.
6:37:48 PM: ​
6:37:48 PM: ❯ Context
6:37:48 PM: production
6:37:48 PM: ​
6:37:48 PM: ────────────────────────────────────────────────────────────────
6:37:48 PM: 1. Build command from Netlify app
6:37:48 PM: ────────────────────────────────────────────────────────────────
6:37:48 PM: ​
6:37:48 PM: $ gatsby build
6:37:52 PM: success open and validate gatsby-configs - 0.064s
6:37:52 PM: success load plugins - 0.827s
6:37:53 PM: success onPreInit - 0.109s
6:37:53 PM: success delete html and css files from previous builds - 0.003s
6:37:53 PM: success initialize cache - 0.008s
6:37:53 PM: success copy gatsby files - 0.049s
6:37:53 PM: success onPreBootstrap - 0.023s
6:37:53 PM: success createSchemaCustomization - 0.007s
6:37:53 PM: success Checking for changed pages - 0.000s
6:37:53 PM: success source and transform nodes - 0.401s
6:37:53 PM: warning Plugin `gatsby-source-filesystem` has customized the built-in Gatsby GraphQL type `File`. This is allowed, but could potentially cause conflicts.
6:37:53 PM: success building schema - 0.410s
6:37:53 PM: info Total nodes: 106, SitePage nodes: 1 (use --verbose for breakdown)
6:37:53 PM: success createPages - 0.001s
6:37:53 PM: success Checking for changed pages - 0.000s
6:37:54 PM: success createPagesStatefully - 0.067s
6:37:54 PM: success update schema - 0.042s
6:37:54 PM: success onPreExtractQueries - 0.000s
6:37:54 PM: success extract queries from components - 0.386s
6:37:54 PM: success write out redirect data - 0.001s
6:37:54 PM: vips_value_hash: no case for NULL
6:37:54 PM: type 64, gchararray
6:37:54 PM: generic 55, GParamString
6:37:54 PM: vips_value_hash: no case for 0.000000
6:37:54 PM: type 60, gdouble
6:37:54 PM: generic 109, GParamDouble
6:37:54 PM: vips_value_hash: no case for ((VipsAccess) VIPS_ACCESS_RANDOM)
6:37:54 PM: type 80486880, VipsAccess
6:37:54 PM: generic 81, GParamEnum
6:37:54 PM: vips_value_hash: no case for FALSE
6:37:54 PM: type 20, gboolean
6:37:54 PM: generic 79, GParamBoolean
6:37:55 PM: ​
6:37:55 PM: ────────────────────────────────────────────────────────────────
6:37:55 PM: "build.command" failed
6:37:55 PM: ────────────────────────────────────────────────────────────────
6:37:55 PM: ​
6:37:55 PM: Error message
6:37:55 PM: Command was killed with SIGSEGV (Segmentation fault): gatsby build
6:37:55 PM: ​
6:37:55 PM: Error location
6:37:55 PM: In Build command from Netlify app:
6:37:55 PM: gatsby build
6:37:55 PM: ​
6:37:55 PM: Resolved config
6:37:55 PM: build:
6:37:55 PM: base: /opt/build/repo
6:37:55 PM: command: gatsby build
6:37:55 PM: commandOrigin: ui
6:37:55 PM: publish: /opt/build/repo/public
6:37:55 PM: Caching artifacts
6:37:55 PM: Started saving node modules
6:37:55 PM: Finished saving node modules
6:37:55 PM: Started saving build plugins
6:37:55 PM: Finished saving build plugins
6:37:55 PM: Started saving pip cache
6:37:55 PM: Finished saving pip cache
6:37:55 PM: Started saving emacs cask dependencies
6:37:55 PM: Finished saving emacs cask dependencies
6:37:55 PM: Started saving maven dependencies
6:37:55 PM: Finished saving maven dependencies
6:37:55 PM: Started saving boot dependencies
6:37:55 PM: Finished saving boot dependencies
6:37:55 PM: Started saving rust rustup cache
6:37:55 PM: Finished saving rust rustup cache
6:37:55 PM: Started saving go dependencies
6:37:57 PM: Finished saving go dependencies
6:38:00 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:38:00 PM: Failing build: Failed to build site
6:38:00 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
6:38:00 PM: Finished processing build request in 1m29.171415216s
6:25:39 PM: Build ready to start
6:25:41 PM: build-image version: d84c79427e8f83c1ba17bcdd7b3fe38059376b68
6:25:41 PM: build-image tag: v3.6.1
6:25:41 PM: buildbot version: b5aa40ef41f8f8b302713d535e9a3180a3b0e301
6:25:41 PM: Building without cache
6:25:41 PM: Starting to prepare the repo for build
6:25:41 PM: No cached dependencies found. Cloning fresh repo
6:25:41 PM: git clone https://github.com/PotatoPope/portfolio
6:25:43 PM: Preparing Git Reference refs/heads/master
6:25:44 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
6:25:44 PM: Starting build script
6:25:44 PM: Installing dependencies
6:25:44 PM: Python version set to 2.7
6:25:46 PM: Downloading and installing node v10.23.1...
6:25:46 PM: Downloading https://nodejs.org/dist/v10.23.1/node-v10.23.1-linux-x64.tar.xz...
6:25:46 PM: Computing checksum with sha256sum
6:25:46 PM: Checksums matched!
6:25:49 PM: Now using node v10.23.1 (npm v6.14.10)
6:25:49 PM: Started restoring cached build plugins
6:25:49 PM: Finished restoring cached build plugins
6:25:49 PM: Attempting ruby version 2.6.2, read from environment
6:25:50 PM: Using ruby version 2.6.2
6:25:50 PM: Using PHP version 5.6
6:25:50 PM: Started restoring cached node modules
6:25:50 PM: Finished restoring cached node modules
6:25:51 PM: Installing NPM modules using NPM version 6.14.10
6:26:37 PM: > sharp@0.27.0 install /opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp
6:26:37 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
6:26:38 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-linux-x64.tar.br
6:26:41 PM: > sharp@0.23.4 install /opt/build/repo/node_modules/sharp
6:26:41 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
6:26:42 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
6:26:44 PM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass
6:26:44 PM: > node scripts/install.js
6:26:45 PM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-64_binding.node
6:26:45 PM: Download complete
6:26:45 PM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node
6:26:45 PM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-64_binding.node
6:26:45 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/core-js
6:26:45 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:26:46 PM: > core-js-pure@3.8.3 postinstall /opt/build/repo/node_modules/core-js-pure
6:26:46 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:26:46 PM: > core-js@3.8.3 postinstall /opt/build/repo/node_modules/gatsby/node_modules/core-js
6:26:46 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:26:46 PM: > gatsby-telemetry@1.9.0 postinstall /opt/build/repo/node_modules/gatsby-telemetry
6:26:46 PM: > node src/postinstall.js || true
6:26:46 PM: > mozjpeg@7.0.0 postinstall /opt/build/repo/node_modules/mozjpeg
6:26:46 PM: > node lib/install.js
6:26:47 PM: ✔ mozjpeg pre-build test passed successfully
6:26:47 PM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/node_modules/pngquant-bin
6:26:47 PM: > node lib/install.js
6:26:47 PM: ✔ pngquant pre-build test passed successfully
6:26:47 PM: > gatsby-cli@2.18.0 postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
6:26:47 PM: > node scripts/postinstall.js
6:26:47 PM: > gatsby@2.31.1 postinstall /opt/build/repo/node_modules/gatsby
6:26:47 PM: > node scripts/postinstall.js
6:26:48 PM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass
6:26:48 PM: > node scripts/build.js
6:26:48 PM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-64/binding.node
6:26:48 PM: Testing binary
6:26:48 PM: Binary is fine
6:26:51 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
6:26:51 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:26:51 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
6:26:51 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:26:51 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.1 (node_modules/fsevents):
6:26:51 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:26:51 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
6:26:51 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:26:51 PM: added 2454 packages from 1429 contributors and audited 2462 packages in 59.45s
6:26:54 PM: 156 packages are looking for funding
6:26:54 PM: run `npm fund` for details
6:26:54 PM: found 9 low severity vulnerabilities
6:26:54 PM: run `npm audit fix` to fix them, or `npm audit` for details
6:26:54 PM: NPM modules installed
6:26:54 PM: Started restoring cached go cache
6:26:54 PM: Finished restoring cached go cache
6:26:54 PM: Installing Go version 1.12
6:27:01 PM: unset GOOS;
6:27:01 PM: unset GOARCH;
6:27:01 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64';
6:27:01 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}";
6:27:01 PM: go version >&2;
6:27:01 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env"
6:27:01 PM: go version go1.12 linux/amd64
6:27:01 PM: Installing missing commands
6:27:01 PM: Verify run directory
6:27:03 PM: ​
6:27:03 PM: ────────────────────────────────────────────────────────────────
6:27:03 PM: Netlify Build
6:27:03 PM: ────────────────────────────────────────────────────────────────
6:27:03 PM: ​
6:27:03 PM: ❯ Version
6:27:03 PM: @netlify/build 8.1.0
6:27:03 PM: ​
6:27:03 PM: ❯ Flags
6:27:03 PM: deployId: 600dad93bc194e8b78ad7eff
6:27:03 PM: mode: buildbot
6:27:03 PM: ​
6:27:03 PM: ❯ Current directory
6:27:03 PM: /opt/build/repo
6:27:03 PM: ​
6:27:03 PM: ❯ Config file
6:27:03 PM: No config file was defined: using default values.
6:27:03 PM: ​
6:27:03 PM: ❯ Context
6:27:03 PM: production
6:27:03 PM: ​
6:27:03 PM: ────────────────────────────────────────────────────────────────
6:27:03 PM: 1. Build command from Netlify app
6:27:03 PM: ────────────────────────────────────────────────────────────────
6:27:03 PM: ​
6:27:03 PM: $ CI= npm run build
6:27:04 PM: > gatsby-starter-default@0.1.0 build /opt/build/repo
6:27:04 PM: > gatsby build
6:27:07 PM: success open and validate gatsby-configs - 0.043s
6:27:08 PM: success load plugins - 0.726s
6:27:08 PM: success onPreInit - 0.112s
6:27:08 PM: success delete html and css files from previous builds - 0.003s
6:27:08 PM: success initialize cache - 0.006s
6:27:08 PM: success copy gatsby files - 0.058s
6:27:08 PM: success onPreBootstrap - 0.017s
6:27:08 PM: success createSchemaCustomization - 0.004s
6:27:09 PM: success Checking for changed pages - 0.000s
6:27:09 PM: success source and transform nodes - 0.359s
6:27:09 PM: warning Plugin `gatsby-source-filesystem` has customized the built-in Gatsby GraphQL type `File`. This is allowed, but could potentially cause conflicts.
6:27:09 PM: success building schema - 0.349s
6:27:09 PM: info Total nodes: 106, SitePage nodes: 1 (use --verbose for breakdown)
6:27:09 PM: success createPages - 0.001s
6:27:09 PM: success Checking for changed pages - 0.000s
6:27:09 PM: success createPagesStatefully - 0.056s
6:27:09 PM: success update schema - 0.020s
6:27:09 PM: success onPreExtractQueries - 0.000s
6:27:09 PM: success extract queries from components - 0.409s
6:27:09 PM: success write out redirect data - 0.001s
6:27:09 PM: vips_value_hash: no case for NULL
6:27:09 PM: type 64, gchararray
6:27:09 PM: generic 55, GParamString
6:27:09 PM: vips_value_hash: no case for 0.000000
6:27:09 PM: type 60, gdouble
6:27:09 PM: generic 109, GParamDouble
6:27:09 PM: vips_value_hash: no case for ((VipsAccess) VIPS_ACCESS_RANDOM)
6:27:09 PM: type 59374272, VipsAccess
6:27:09 PM: generic 81, GParamEnum
6:27:09 PM: vips_value_hash: no case for FALSE
6:27:09 PM: type 20, gboolean
6:27:09 PM: generic 79, GParamBoolean
6:27:10 PM: Segmentation fault (core dumped)
6:27:10 PM: npm ERR! code ELIFECYCLE
6:27:10 PM: npm ERR! errno 139
6:27:10 PM: npm ERR! gatsby-starter-default@0.1.0 build: `gatsby build`
6:27:10 PM: npm ERR! Exit status 139
6:27:10 PM: npm ERR!
6:27:10 PM: npm ERR! Failed at the gatsby-starter-default@0.1.0 build script.
6:27:10 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:27:10 PM: npm ERR! A complete log of this run can be found in:
6:27:10 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-01-24T17_27_10_694Z-debug.log
6:27:10 PM: ​
6:27:10 PM: ────────────────────────────────────────────────────────────────
6:27:10 PM: "build.command" failed
6:27:10 PM: ────────────────────────────────────────────────────────────────
6:27:10 PM: ​
6:27:10 PM: Error message
6:27:10 PM: Command failed with exit code 139: CI= npm run build
6:27:10 PM: ​
6:27:10 PM: Error location
6:27:10 PM: In Build command from Netlify app:
6:27:10 PM: CI= npm run build
6:27:10 PM: ​
6:27:10 PM: Resolved config
6:27:10 PM: build:
6:27:10 PM: command: CI= npm run build
6:27:10 PM: commandOrigin: ui
6:27:10 PM: publish: /opt/build/repo/public
6:27:10 PM: Caching artifacts
6:27:10 PM: Started saving node modules
6:27:10 PM: Finished saving node modules
6:27:10 PM: Started saving build plugins
6:27:10 PM: Finished saving build plugins
6:27:10 PM: Started saving pip cache
6:27:10 PM: Finished saving pip cache
6:27:10 PM: Started saving emacs cask dependencies
6:27:10 PM: Finished saving emacs cask dependencies
6:27:10 PM: Started saving maven dependencies
6:27:11 PM: Finished saving maven dependencies
6:27:11 PM: Started saving boot dependencies
6:27:11 PM: Finished saving boot dependencies
6:27:11 PM: Started saving rust rustup cache
6:27:11 PM: Finished saving rust rustup cache
6:27:11 PM: Started saving go dependencies
6:27:12 PM: Finished saving go dependencies
6:27:16 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:27:16 PM: Failing build: Failed to build site
6:27:16 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
6:27:16 PM: Finished processing build request in 1m34.973278123s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment