Website deploy failing with error Building static HTML failed for path "/"

Hi team,

Our website build deploy is failing with error Building static HTML failed for path “/”.
Any advice or experiences of this before?

Build log failure as follows:

1:02:05 PM: success Rewriting compilation hashes - 0.002s
1:02:45 PM: failed Building static HTML for pages - 37.940s
1:02:45 PM: error Building static HTML failed for path “/”
1:02:45 PM:
1:02:45 PM:
1:02:45 PM: WebpackError: Minified React error #62; visit https://reactjs.org/docs/error-d ecoder.html?invariant=62&args= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
1:02:45 PM:
1:02:45 PM: - build-html.js:107 doBuildPages
1:02:45 PM: [repo]/[gatsby]/dist/commands/build-html.js:107:24
1:02:45 PM:
1:02:45 PM: - build-html.js:121 async buildHTML
1:02:45 PM: [repo]/[gatsby]/dist/commands/build-html.js:121:3
1:02:45 PM:
1:02:45 PM: - build.js:219 async build
1:02:45 PM: [repo]/[gatsby]/dist/commands/build.js:219:5
1:02:45 PM:
1:02:45 PM:
1:02:45 PM: error Command failed with exit code 1. (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
1:02:45 PM: info Visit yarn run | Yarn for documentation about this command.
1:02:45 PM: ​
1:02:45 PM: ────────────────────────────────────────────────────────────────
1:02:45 PM: “build.command” failed
1:02:45 PM: ────────────────────────────────────────────────────────────────
1:02:45 PM: ​
1:02:45 PM: Error message
1:02:45 PM: Command failed with exit code 1: yarn build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
1:02:45 PM: ​
1:02:45 PM: Error location
1:02:45 PM: In build.command from netlify.toml:
1:02:45 PM: yarn build
1:02:45 PM: ​
1:02:45 PM: Resolved config
1:02:45 PM: build:
1:02:45 PM: command: yarn build
1:02:45 PM: commandOrigin: config
1:02:45 PM: environment:
1:02:45 PM: - NETLIFY_GRAPH_TOKEN
1:02:45 PM: - ONEGRAPH_AUTHLIFY_TOKEN
1:02:45 PM: - REST_API
1:02:45 PM: - REST_API_SEARCH
1:02:45 PM: publish: /opt/build/repo/public
1:02:45 PM: publishOrigin: config
1:02:45 PM: functionsDirectory: /opt/build/repo/lambda
1:02:46 PM: Caching artifacts
1:02:46 PM: Started saving node modules

Hi @Ras123

Have you looked at the URL in this error message? It contains more information about the exact error which should help you track down and fix it.