I have issues with my CI/CD giving me error code 2, please help.
5:38:52 PM: Build ready to start
5:38:54 PM: build-image version: 53b83b6bede2920f236b25b6f5a95334320dc849
5:38:54 PM: build-image tag: v3.6.0
5:38:54 PM: buildbot version: e26592b49d9d56b21349effe1b8fab4d50845f11
5:38:54 PM: Fetching cached dependencies
5:38:54 PM: Failed to fetch cache, continuing with build
5:38:54 PM: Starting to prepare the repo for build
5:38:55 PM: No cached dependencies found. Cloning fresh repo
5:38:55 PM: git clone https://github.com/JobNmadu/rproject1
5:38:55 PM: Preparing Git Reference refs/heads/main
5:38:57 PM: Starting build script
5:38:57 PM: Installing dependencies
5:38:57 PM: Python version set to 2.7
5:38:58 PM: v12.18.0 is already installed.
5:38:59 PM: Now using node v12.18.0 (npm v6.14.4)
5:38:59 PM: Started restoring cached build plugins
5:38:59 PM: Finished restoring cached build plugins
5:38:59 PM: Attempting ruby version 2.7.1, read from environment
5:39:00 PM: Using ruby version 2.7.1
5:39:00 PM: Using PHP version 5.6
5:39:00 PM: Installing Hugo 0.77.0
5:39:01 PM: Hugo Static Site Generator v0.77.0-EF290125/extended linux/amd64 BuildDate: 2020-10-30T10:21:36Z
5:39:01 PM: Started restoring cached go cache
5:39:01 PM: Finished restoring cached go cache
5:39:01 PM: go version go1.14.4 linux/amd64
5:39:01 PM: go version go1.14.4 linux/amd64
5:39:01 PM: Installing missing commands
5:39:01 PM: Verify run directory
5:39:03 PM: β
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: Netlify Build
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: β
5:39:03 PM: β― Version
5:39:03 PM: @netlify/build 8.0.1
5:39:03 PM: β
5:39:03 PM: β― Flags
5:39:03 PM: deployId: 5ff4961ce2b2a92ccdfc8071
5:39:03 PM: mode: buildbot
5:39:03 PM: β
5:39:03 PM: β― Current directory
5:39:03 PM: /opt/build/repo
5:39:03 PM: β
5:39:03 PM: β― Config file
5:39:03 PM: No config file was defined: using default values.
5:39:03 PM: β
5:39:03 PM: β― Context
5:39:03 PM: production
5:39:03 PM: β
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: 1. Build command from Netlify app
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: β
5:39:03 PM: $ hugo
5:39:03 PM: Total in 0 ms
5:39:03 PM: Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
5:39:03 PM: Run hugo help new
for details.
5:39:03 PM: β
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: βbuild.commandβ failed
5:39:03 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:39:03 PM: β
5:39:03 PM: Error message
5:39:03 PM: Command failed with exit code 255: hugo
5:39:03 PM: β
5:39:03 PM: Error location
5:39:03 PM: In Build command from Netlify app:
5:39:03 PM: hugo
5:39:03 PM: β
5:39:03 PM: Resolved config
5:39:03 PM: build:
5:39:03 PM: command: hugo
5:39:03 PM: commandOrigin: ui
5:39:03 PM: environment:
5:39:03 PM: - HUGO_VERSION
5:39:03 PM: publish: /opt/build/repo/public
5:39:03 PM: Caching artifacts
5:39:03 PM: Started saving build plugins
5:39:03 PM: Finished saving build plugins
5:39:03 PM: Started saving pip cache
5:39:03 PM: Finished saving pip cache
5:39:03 PM: Started saving emacs cask dependencies
5:39:03 PM: Finished saving emacs cask dependencies
5:39:03 PM: Started saving maven dependencies
5:39:03 PM: Finished saving maven dependencies
5:39:03 PM: Started saving boot dependencies
5:39:03 PM: Finished saving boot dependencies
5:39:03 PM: Started saving rust rustup cache
5:39:03 PM: Finished saving rust rustup cache
5:39:03 PM: Started saving rust cargo bin cache
5:39:03 PM: Finished saving rust cargo bin cache
5:39:03 PM: Started saving go dependencies
5:39:03 PM: Finished saving go dependencies
5:39:06 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:39:06 PM: Failing build: Failed to build site
5:39:06 PM: Failed during stage βbuilding siteβ: Build script returned non-zero exit code: 2
5:39:06 PM: Finished processing build request in 11.677625102s