When resolving config: Base directory does not exist: /opt/build/repo/atproducts.org

I’m having issues with deploying my site “atproducts.org”, I don’t what could be the issue here?

Git: GitHub - Alex-Toucan/atproducts.xyz
App: fervent-lovelace-a433cf.netlify.app
Log:
11:45:01 AM: Build ready to start

11:45:03 AM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)

11:45:03 AM: build-image tag: v4.5.3

11:45:03 AM: buildbot version: 0f8ab010ea5f18887d62cd081cd9d7ab895bafbb

11:45:03 AM: Fetching cached dependencies

11:45:03 AM: Failed to fetch cache, continuing with build

11:45:03 AM: Starting to prepare the repo for build

11:45:03 AM: No cached dependencies found. Cloning fresh repo

11:45:03 AM: git clone GitHub - Alex-Toucan/atproducts.xyz

11:45:04 AM: Preparing Git Reference refs/heads/main

11:45:04 AM: Parsing package.json dependencies

11:45:04 AM: Creating deploy upload records

11:45:04 AM: Failing build: Failed to parse configuration

11:45:04 AM: Failed during stage ‘Reading and parsing configuration files’:
When resolving config:
Base directory does not exist: /opt/build/repo/atproducts.org

: exit status 1

11:45:04 AM: Finished processing build request in 1.766119117s

Hey @Alex-Toucan

This is correct. In the case of the repository you are deploying, the base directory value should remain blank as the files exist at the root of the repository.

And I suppose leave the build command blank as well “ng build --prod”.

────────────────────────────────────────────────────────────────
2:47:38 PM: 1. Build command from Netlify app
2:47:38 PM: ────────────────────────────────────────────────────────────────
2:47:38 PM: ​
2:47:38 PM: $ ng build --prod
2:47:38 PM: bash: ng: command not found
2:47:38 PM: ​
2:47:38 PM: ────────────────────────────────────────────────────────────────
2:47:38 PM: “build.command” failed
2:47:38 PM: ────────────────────────────────────────────────────────────────
2:47:38 PM: ​
2:47:38 PM: Error message
2:47:38 PM: Command failed with exit code 127: ng build --prod
2:47:38 PM: ​
2:47:38 PM: Error location
2:47:38 PM: In Build command from Netlify app:
2:47:38 PM: ng build --prod
2:47:38 PM: ​
2:47:38 PM: Resolved config
2:47:38 PM: build:
2:47:38 PM: command: ng build --prod
2:47:38 PM: commandOrigin: ui
2:47:38 PM: publish: /opt/build/repo
2:47:38 PM: publishOrigin: default
2:47:38 PM: Caching artifacts
2:47:38 PM: Started saving build plugins
2:47:38 PM: Finished saving build plugins
2:47:38 PM: Started saving pip cache
2:47:38 PM: Finished saving pip cache
2:47:38 PM: Started saving emacs cask dependencies
2:47:38 PM: Finished saving emacs cask dependencies
2:47:38 PM: Started saving maven dependencies
2:47:38 PM: Finished saving maven dependencies
2:47:38 PM: Started saving boot dependencies
2:47:38 PM: Finished saving boot dependencies
2:47:38 PM: Started saving rust rustup cache
2:47:38 PM: Finished saving rust rustup cache
2:47:38 PM: Started saving go dependencies
2:47:38 PM: Finished saving go dependencies
2:47:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:47:41 PM: Creating deploy upload records
2:47:41 PM: Failing build: Failed to build site
2:47:41 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2
2:47:41 PM: Finished processing build request in 10.792989285s

There is no need for a build command as the files are HTML files. There is no framework and nothing that requires building.