Hello, How to solve this build error?

8:59:20 PM: build-image version: 7642deb181638b3835e1167f6d37cbbbfd478984 (focal)

8:59:20 PM: buildbot version: 2641467caf22fead48ec7060268637876a5bcd3a

8:59:21 PM: Fetching cached dependencies

8:59:21 PM: Failed to fetch cache, continuing with build

8:59:21 PM: Starting to prepare the repo for build

8:59:21 PM: No cached dependencies found. Cloning fresh repo

8:59:21 PM: git clone --filter=blob:none GitHub - noreentharusha/Employees

8:59:21 PM: Preparing Git Reference refs/heads/main

8:59:22 PM: Failed during stage “Reading and parsing configuration files”:
When resolving config:
Base directory does not exist: /opt/build/repo/main

: exit status 1

8:59:22 PM: Failing build: Failed to parse configuration

@Noreen The error is:

Base directory does not exist: /opt/build/repo/main

In your Build settings you have your Base directory set to main.

Your repository does not contain a folder called main.

Delete main from your Base directory so that it uses the default, which is the root of the repository.

1 Like