Skip to content

Instantly share code, notes, and snippets.

@growdigital
Created January 15, 2024 23:45
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/1b4b5c48967acfdf4b03084177150f45 to your computer and use it in GitHub Desktop.
Save growdigital/1b4b5c48967acfdf4b03084177150f45 to your computer and use it in GitHub Desktop.
yarn it up
11:41:40 PM: Netlify Build
11:41:40 PM: ────────────────────────────────────────────────────────────────
11:41:40 PM: ​
11:41:40 PM: ❯ Version
11:41:40 PM: @netlify/build 29.32.0
11:41:40 PM: ​
11:41:40 PM: ❯ Flags
11:41:40 PM: baseRelDir: true
11:41:40 PM: buildId: 65a5c28d8496dc50439de943
11:41:40 PM: deployId: 65a5c28d8496dc50439de945
11:41:40 PM: ​
11:41:40 PM: ❯ Current directory
11:41:40 PM: /opt/build/repo
11:41:40 PM: ​
11:41:40 PM: ❯ Config file
11:41:40 PM: /opt/build/repo/netlify.toml
11:41:40 PM: ​
11:41:40 PM: ❯ Context
11:41:40 PM: production
11:41:40 PM: ​
11:41:40 PM: build.command from netlify.toml
11:41:40 PM: ────────────────────────────────────────────────────────────────
11:41:40 PM: ​
11:41:40 PM: $ yarn && yarn project-setup && yarn build
11:41:40 PM: yarn install v1.22.21
11:41:40 PM: [1/4] Resolving packages...
11:41:40 PM: success Already up-to-date.
11:41:40 PM: Done in 0.30s.
11:41:41 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
11:41:41 PM: yarn run v1.22.21
11:41:41 PM: $ node ./scripts/projectSetup.js
11:41:41 PM: Done in 0.06s.
11:41:41 PM: yarn run v1.22.21
11:41:41 PM: $ tincacms build && hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic
11:41:41 PM: /bin/sh: 1: tincacms: not found
11:41:41 PM: error Command failed with exit code 127. (https://ntl.fyi/exit-code-127)
11:41:41 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
11:41:41 PM: ​
11:41:41 PM: "build.command" failed
11:41:41 PM: ────────────────────────────────────────────────────────────────
11:41:41 PM: ​
11:41:41 PM: Error message
11:41:41 PM: Command failed with exit code 127: yarn && yarn project-setup && yarn build (https://ntl.fyi/exit-code-127)
11:41:41 PM: ​
11:41:41 PM: Error location
11:41:41 PM: In build.command from netlify.toml:
11:41:41 PM: yarn && yarn project-setup && yarn build
11:41:41 PM: ​
11:41:41 PM: Resolved config
11:41:41 PM: build:
11:41:41 PM: command: yarn && yarn project-setup && yarn build
11:41:41 PM: commandOrigin: config
11:41:41 PM: environment:
11:41:41 PM: - NEXT_PUBLIC_TINA_CLIENT_ID
11:41:41 PM: - TINA_PUBLIC_IS_LOCAL
11:41:41 PM: - TINA_TOKEN
11:41:41 PM: - HUGO_VERSION
11:41:41 PM: - HUGO_BASEURL
11:41:41 PM: publish: /opt/build/repo/public
11:41:41 PM: publishOrigin: config
11:41:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:41:41 PM: Failing build: Failed to build site
11:41:42 PM: Finished processing build request in 38.462s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment