I am struggling to get netlify to build. I have searched all the forums and have tried everything I can find. Below is the Deploy Log. Any help would be great. The netlify domain is https://sad-lamport-be7b2e.netlify.app
5:17:29 PM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
5:17:29 PM: build-image tag: v3.5.0
5:17:29 PM: buildbot version: 92401c20a786cb1d10de411d95c4bfae445aeadc
5:17:29 PM: Building without cache
5:17:29 PM: Starting to prepare the repo for build
5:17:29 PM: No cached dependencies found. Cloning fresh repo
5:17:29 PM: git clone https://github.com/adogam/clearsight
5:17:30 PM: Preparing Git Reference refs/heads/main
5:17:32 PM: Starting build script
5:17:33 PM: Installing dependencies
5:17:33 PM: Python version set to 2.7
5:17:34 PM: v12.18.0 is already installed.
5:17:35 PM: Now using node v12.18.0 (npm v6.14.4)
5:17:35 PM: Started restoring cached build plugins
5:17:35 PM: Finished restoring cached build plugins
5:17:35 PM: Attempting ruby version 2.7.1, read from environment
5:17:37 PM: Using ruby version 2.7.1
5:17:37 PM: Using PHP version 5.6
5:17:37 PM: Started restoring cached node modules
5:17:37 PM: Finished restoring cached node modules
5:17:38 PM: Installing NPM modules using NPM version 6.14.4
5:17:56 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-register/node_modules/core-js
5:17:56 PM: > node -e "try{require('./postinstall')}catch(e){}"
5:17:56 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
5:17:56 PM: > node -e "try{require('./postinstall')}catch(e){}"
5:17:57 PM: npm WARN Invalid name: "Clearsight Vision Health"
5:17:57 PM: npm WARN repo No description
5:17:57 PM: npm WARN repo No repository field.
5:17:57 PM: npm WARN repo No README data
5:17:57 PM: npm WARN repo No license field.
5:17:57 PM: added 100 packages from 82 contributors in 18.023s
5:17:57 PM: 12 packages are looking for funding
5:17:57 PM: run `npm fund` for details
5:17:57 PM: found 0 vulnerabilities
5:17:57 PM: NPM modules installed
5:17:57 PM: Started restoring cached go cache
5:17:57 PM: Finished restoring cached go cache
5:17:57 PM: go version go1.14.4 linux/amd64
5:17:57 PM: go version go1.14.4 linux/amd64
5:17:57 PM: Installing missing commands
5:17:57 PM: Verify run directory
5:17:59 PM:
5:17:59 PM: ┌─────────────────────────────┐
5:17:59 PM: │ Netlify Build │
5:17:59 PM: └─────────────────────────────┘
5:17:59 PM:
5:17:59 PM: ❯ Version
5:17:59 PM: @netlify/build 5.3.1
5:17:59 PM:
5:17:59 PM: ❯ Flags
5:17:59 PM: deployId: 5fb45a07c1f62c21a357ed9e
5:17:59 PM: mode: buildbot
5:17:59 PM:
5:17:59 PM: ❯ Current directory
5:17:59 PM: /opt/build/repo
5:17:59 PM:
5:17:59 PM: ❯ Config file
5:17:59 PM: No config file was defined: using default values.
5:17:59 PM:
5:17:59 PM: ❯ Context
5:17:59 PM: production
5:17:59 PM:
5:17:59 PM: ┌───────────────────────────────────┐
5:17:59 PM: │ 1. Build command from Netlify app │
5:17:59 PM: └───────────────────────────────────┘
5:17:59 PM:
5:17:59 PM: $ gatsby build
5:17:59 PM: bash: gatsby: command not found
5:17:59 PM:
5:17:59 PM: ┌─────────────────────────────┐
5:17:59 PM: │ "build.command" failed │
5:17:59 PM: └─────────────────────────────┘
5:17:59 PM:
5:17:59 PM: Error message
5:17:59 PM: Command failed with exit code 127: gatsby build
5:17:59 PM:
5:17:59 PM: Error location
5:17:59 PM: In Build command from Netlify app:
5:17:59 PM: gatsby build
5:17:59 PM:
5:17:59 PM: Resolved config
5:17:59 PM: build:
5:17:59 PM: command: gatsby build
5:17:59 PM: commandOrigin: ui
5:17:59 PM: publish: /opt/build/repo/public
5:17:59 PM: Caching artifacts
5:17:59 PM: Started saving node modules
5:17:59 PM: Finished saving node modules
5:17:59 PM: Started saving build plugins
5:17:59 PM: Finished saving build plugins
5:17:59 PM: Started saving pip cache
5:17:59 PM: Finished saving pip cache
5:17:59 PM: Started saving emacs cask dependencies
5:18:00 PM: Finished saving emacs cask dependencies
5:18:00 PM: Started saving maven dependencies
5:18:00 PM: Finished saving maven dependencies
5:18:00 PM: Started saving boot dependencies
5:18:00 PM: Finished saving boot dependencies
5:18:00 PM: Started saving go dependencies
5:18:00 PM: Finished saving go dependencies
5:18:03 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:18:03 PM: Failing build: Failed to build site
5:18:03 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
5:18:03 PM: Finished processing build request in 33.969307221s```