Created
August 1, 2022 20:23
-
-
Save fvieira/1e05a81c4e1933afa3a380bc2d4c6e37 to your computer and use it in GitHub Desktop.
Netlify failed build, exit code 137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9:01:48 PM: Build ready to start | |
9:01:55 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal) | |
9:01:55 PM: build-image tag: v4.10.1 | |
9:01:55 PM: buildbot version: f50214a1de5f04db9b59dcaff80e969673c77548 | |
9:01:56 PM: Fetching cached dependencies | |
9:01:56 PM: Starting to download cache of 839.0MB | |
9:02:03 PM: Finished downloading cache in 7.259387385s | |
9:02:03 PM: Starting to extract cache | |
9:02:09 PM: Finished extracting cache in 6.238249649s | |
9:02:09 PM: Finished fetching cache in 13.599996243s | |
9:02:09 PM: Starting to prepare the repo for build | |
9:02:10 PM: Preparing Git Reference refs/heads/main | |
9:02:10 PM: Parsing package.json dependencies | |
9:02:11 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'lp-viral' versus '/lp-viral' in the Netlify UI | |
9:02:11 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'lp-viral/public' versus 'public/' in the Netlify UI | |
9:02:11 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'lp-viral/netlify_functions' versus '' in the Netlify UI | |
9:02:11 PM: Starting build script | |
9:02:11 PM: Installing dependencies | |
9:02:11 PM: Python version set to 2.7 | |
9:02:11 PM: Started restoring cached node version | |
9:02:13 PM: Finished restoring cached node version | |
9:02:13 PM: Attempting node version '14' from .node-version | |
9:02:13 PM: v14.20.0 is already installed. | |
9:02:13 PM: Now using node v14.20.0 (npm v6.14.17) | |
9:02:13 PM: Started restoring cached build plugins | |
9:02:13 PM: Finished restoring cached build plugins | |
9:02:13 PM: Attempting ruby version 2.7.2, read from environment | |
9:02:14 PM: Using ruby version 2.7.2 | |
9:02:14 PM: Using PHP version 8.0 | |
9:02:14 PM: Started restoring cached yarn cache | |
9:02:25 PM: Finished restoring cached yarn cache | |
9:02:25 PM: No yarn workspaces detected | |
9:02:25 PM: Started restoring cached node modules | |
9:02:25 PM: Finished restoring cached node modules | |
9:02:25 PM: Installing NPM modules using Yarn version 1.22.10 | |
9:02:26 PM: yarn install v1.22.10 | |
9:02:26 PM: [1/4] Resolving packages... | |
9:02:26 PM: success Already up-to-date. | |
9:02:26 PM: Done in 0.72s. | |
9:02:26 PM: NPM modules installed using Yarn | |
9:02:27 PM: Started restoring cached go cache | |
9:02:27 PM: Finished restoring cached go cache | |
9:02:27 PM: Installing Go version 1.16.5 (requested 1.16.5) | |
9:02:31 PM: unset GOOS; | |
9:02:31 PM: unset GOARCH; | |
9:02:31 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64'; | |
9:02:31 PM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}"; | |
9:02:31 PM: go version >&2; | |
9:02:31 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env" | |
9:02:31 PM: go version go1.16.5 linux/amd64 | |
9:02:31 PM: Installing missing commands | |
9:02:31 PM: Verify run directory | |
9:02:32 PM: | |
9:02:32 PM: ──────────────────────────────────────────────────────────────── | |
9:02:32 PM: Netlify Build | |
9:02:32 PM: ──────────────────────────────────────────────────────────────── | |
9:02:32 PM: | |
9:02:32 PM: ❯ Version | |
9:02:32 PM: @netlify/build 27.8.1 | |
9:02:32 PM: | |
9:02:32 PM: ❯ Flags | |
9:02:32 PM: baseRelDir: true | |
9:02:32 PM: buildId: 62e8312c4acf631f34bc72c4 | |
9:02:32 PM: deployId: 62e8312c4acf631f34bc72c6 | |
9:02:32 PM: | |
9:02:32 PM: ❯ Current directory | |
9:02:32 PM: /opt/build/repo/lp-viral | |
9:02:32 PM: | |
9:02:32 PM: ❯ Config file | |
9:02:32 PM: /opt/build/repo/lp-viral/netlify.toml | |
9:02:32 PM: | |
9:02:32 PM: ❯ Context | |
9:02:32 PM: production | |
9:02:32 PM: | |
9:02:32 PM: ──────────────────────────────────────────────────────────────── | |
9:02:32 PM: 1. Build command from Netlify app | |
9:02:32 PM: ──────────────────────────────────────────────────────────────── | |
9:02:32 PM: | |
9:02:32 PM: $ yarn build | |
9:02:32 PM: yarn run v1.22.10 | |
9:02:32 PM: $ gatsby build | |
9:02:37 PM: success open and validate gatsby-configs, load plugins - 4.258s | |
9:02:37 PM: success onPreInit - 0.003s | |
9:02:38 PM: info [sanity] Fetching remote GraphQL schema | |
9:02:38 PM: info [sanity] Transforming to Gatsby-compatible GraphQL SDL | |
9:02:38 PM: info [sanity] Stitching GraphQL schemas from SDL | |
9:02:38 PM: success initialize cache - 0.469s | |
9:02:38 PM: success copy gatsby files - 0.052s | |
9:02:38 PM: success Compiling Gatsby Functions - 0.162s | |
9:02:38 PM: success onPreBootstrap - 0.168s | |
9:02:39 PM: success createSchemaCustomization - 0.094s | |
9:02:40 PM: info [sanity] Fetching export stream for dataset | |
9:02:40 PM: info [sanity] Done! Exported 78 documents. | |
9:02:40 PM: warning [sanity] Document "privacyPolicy-singleton" has type privacyPolicy (SanityPrivacyPolicy), which is not declared in the GraphQL schema. Make sure you run "graphql deploy". Skipping document. | |
9:02:41 PM: warning [sanity] Document "thankYouPage-singleton" has type thankYouPage (SanityThankYouPage), which is not declared in the GraphQL schema. Make sure you run "graphql deploy". Skipping document. | |
9:02:41 PM: warning [sanity] Document "website-singleton" has type website (SanityWebsite), which is not declared in the GraphQL schema. Make sure you run "graphql deploy". Skipping document. | |
9:02:41 PM: success Checking for changed pages - 0.000s | |
9:02:41 PM: success source and transform nodes - 1.899s | |
9:02:41 PM: info Writing GraphQL type definitions to /opt/build/repo/lp-viral/.cache/schema.gql | |
9:02:43 PM: success building schema - 1.705s | |
9:02:43 PM: success createPages - 0.190s | |
9:02:43 PM: success createPagesStatefully - 0.302s | |
9:02:43 PM: info Total nodes: 146, SitePage nodes: 4 (use --verbose for breakdown) | |
9:02:43 PM: success Checking for changed pages - 0.000s | |
9:02:43 PM: success onPreExtractQueries - 0.000s | |
9:02:57 PM: success extract queries from components - 14.196s | |
9:02:57 PM: success write out redirect data - 0.001s | |
9:03:03 PM: success Build manifest and related icons - 5.298s | |
9:03:03 PM: success onPostBootstrap - 5.300s | |
9:03:03 PM: info bootstrap finished - 30.674s | |
9:03:03 PM: success write out requires - 0.096s | |
9:04:00 PM: Killed | |
9:04:00 PM: error Command failed with exit code 137. (https://ntl.fyi/exit-code-137) | |
9:04:00 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
9:04:00 PM: | |
9:04:00 PM: ──────────────────────────────────────────────────────────────── | |
9:04:00 PM: "build.command" failed | |
9:04:00 PM: ──────────────────────────────────────────────────────────────── | |
9:04:00 PM: | |
9:04:00 PM: Error message | |
9:04:00 PM: Command failed with exit code 137: yarn build (https://ntl.fyi/exit-code-137) | |
9:04:00 PM: | |
9:04:00 PM: Error location | |
9:04:00 PM: In Build command from Netlify app: | |
9:04:00 PM: yarn build | |
9:04:00 PM: | |
9:04:00 PM: Resolved config | |
9:04:00 PM: build: | |
9:04:00 PM: base: /opt/build/repo/lp-viral | |
9:04:00 PM: command: yarn build | |
9:04:00 PM: commandOrigin: ui | |
9:04:00 PM: environment: | |
9:04:00 PM: - FROM_EMAIL | |
9:04:00 PM: - KEAP_API_KEY | |
9:04:00 PM: - KEAP_CUSTOM_FIELD_ID_UTM_CAMPAIGN | |
9:04:00 PM: - KEAP_CUSTOM_FIELD_ID_UTM_CONTENT | |
9:04:00 PM: - KEAP_CUSTOM_FIELD_ID_UTM_MEDIUM | |
9:04:00 PM: - KEAP_CUSTOM_FIELD_ID_UTM_SOURCE | |
9:04:00 PM: - KEAP_CUSTOM_FIELD_ID_UTM_TERM | |
9:04:00 PM: - SANITY_DATASET | |
9:04:00 PM: - SANITY_PROJECT_ID | |
9:04:00 PM: - SANITY_TOKEN | |
9:04:00 PM: - SENDGRID_API_KEY | |
9:04:00 PM: - SENTRY_FUNCTIONS_DSN_URL | |
9:04:00 PM: - TAG_IDS_TO_ADD | |
9:04:00 PM: - TO_EMAILS | |
9:04:00 PM: - GATSBY_SITE_DOMAIN | |
9:04:00 PM: - GATSBY_SITE_BASE_URL | |
9:04:00 PM: - GATSBY_ENV | |
9:04:00 PM: - SENTRY_DSN_URL | |
9:04:00 PM: - GOOGLE_TAG_MANAGER_TRACKING_ID | |
9:04:00 PM: - GATSBY_GOOGLE_OPTIMIZE_ID | |
9:04:00 PM: publish: /opt/build/repo/lp-viral/public | |
9:04:00 PM: publishOrigin: ui | |
9:04:00 PM: functionsDirectory: /opt/build/repo/lp-viral/netlify_functions | |
9:04:00 PM: headers: | |
9:04:00 PM: - for: '*' | |
9:04:00 PM: values: | |
9:04:00 PM: Referrer-Policy: no-referrer | |
9:04:00 PM: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload | |
9:04:00 PM: X-Content-Type-Options: nosniff | |
9:04:00 PM: headersOrigin: config | |
9:04:01 PM: Caching artifacts | |
9:04:01 PM: Started saving node modules | |
9:04:01 PM: Finished saving node modules | |
9:04:01 PM: Started saving build plugins | |
9:04:01 PM: Finished saving build plugins | |
9:04:01 PM: Started saving yarn cache | |
9:05:04 PM: Finished saving yarn cache | |
9:05:04 PM: Started saving pip cache | |
9:05:04 PM: Finished saving pip cache | |
9:05:04 PM: Started saving emacs cask dependencies | |
9:05:04 PM: Finished saving emacs cask dependencies | |
9:05:04 PM: Creating deploy upload records | |
9:05:04 PM: Started saving maven dependencies | |
9:05:04 PM: Finished saving maven dependencies | |
9:05:04 PM: Started saving boot dependencies | |
9:05:04 PM: Finished saving boot dependencies | |
9:05:04 PM: Started saving rust rustup cache | |
9:05:04 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) | |
9:05:04 PM: Finished saving rust rustup cache | |
9:05:04 PM: Started saving go dependencies | |
9:05:04 PM: Finished saving go dependencies | |
9:05:04 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 | |
9:05:04 PM: Failing build: Failed to build site | |
9:05:04 PM: Finished processing build request in 3m8.846753492s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment