Skip to content

Instantly share code, notes, and snippets.

@growdigital
Created January 15, 2024 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save growdigital/9339dc5e5b9edcf167f9b909df7b9bf3 to your computer and use it in GitHub Desktop.
Save growdigital/9339dc5e5b9edcf167f9b909df7b9bf3 to your computer and use it in GitHub Desktop.
3:47:02 PM: Netlify Build
3:47:02 PM: ────────────────────────────────────────────────────────────────
3:47:02 PM: ​
3:47:02 PM: ❯ Version
3:47:02 PM: @netlify/build 29.32.0
3:47:02 PM: ​
3:47:02 PM: ❯ Flags
3:47:02 PM: baseRelDir: true
3:47:02 PM: buildId: 65a55360ac9d4400080e76fc
3:47:02 PM: deployId: 65a55360ac9d4400080e76fe
3:47:02 PM: ​
3:47:02 PM: ❯ Current directory
3:47:02 PM: /opt/build/repo
3:47:02 PM: ​
3:47:02 PM: ❯ Config file
3:47:02 PM: /opt/build/repo/netlify.toml
3:47:02 PM: ​
3:47:02 PM: ❯ Context
3:47:02 PM: production
3:47:02 PM: ​
3:47:02 PM: build.command from netlify.toml
3:47:02 PM: ────────────────────────────────────────────────────────────────
3:47:02 PM: ​
3:47:02 PM: $ yarn project-setup && yarn build
3:47:02 PM: yarn run v1.22.21
3:47:02 PM: $ node ./scripts/projectSetup.js
3:47:02 PM: Done in 0.06s.
3:47:02 PM: yarn run v1.22.21
3:47:03 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
3:47:03 PM: $ tincacms build && hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic
3:47:03 PM: /bin/sh: 1: tincacms: not found
3:47:03 PM: error Command failed with exit code 127. (https://ntl.fyi/exit-code-127)
3:47:03 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
3:47:03 PM: ​
3:47:03 PM: "build.command" failed
3:47:03 PM: ────────────────────────────────────────────────────────────────
3:47:03 PM: ​
3:47:03 PM: Error message
3:47:03 PM: Command failed with exit code 127: yarn project-setup && yarn build (https://ntl.fyi/exit-code-127)
3:47:03 PM: ​
3:47:03 PM: Error location
3:47:03 PM: In build.command from netlify.toml:
3:47:03 PM: yarn project-setup && yarn build
3:47:03 PM: ​
3:47:03 PM: Resolved config
3:47:03 PM: build:
3:47:03 PM: command: yarn project-setup && yarn build
3:47:03 PM: commandOrigin: config
3:47:03 PM: environment:
3:47:03 PM: - NEXT_PUBLIC_TINA_CLIENT_ID
3:47:03 PM: - TINA_PUBLIC_IS_LOCAL
3:47:03 PM: - TINA_TOKEN
3:47:03 PM: - HUGO_VERSION
3:47:03 PM: - HUGO_BASEURL
3:47:03 PM: publish: /opt/build/repo/public
3:47:03 PM: publishOrigin: config
3:47:03 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:47:03 PM: Failing build: Failed to build site
3:47:03 PM: Finished processing build request in 21.665s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment