I tried deploying airspace-hugo theme from github. I am getting this result, please help me;
4:09:30 AM:
4:09:30 AM: Error message
4:09:30 AM: Command failed with exit code 255: cd exampleSite && hugo --gc --themesDir …/…
4:09:30 AM:
4:09:30 AM: Error location
4:09:30 AM: In build.command from netlify.toml:
4:09:30 AM: cd exampleSite && hugo --gc --themesDir …/…
4:09:30 AM:
4:09:30 AM: Resolved config
4:09:30 AM: build:
4:09:30 AM: command: cd exampleSite && hugo --gc --themesDir …/…
4:09:30 AM: commandOrigin: config
4:09:30 AM: environment:
4:09:30 AM: - HUGO_VERSION
4:09:30 AM: - HUGO_THEME
4:09:30 AM: - HUGO_BASEURL
4:09:30 AM: publish: /opt/build/repo/exampleSite/public
4:09:30 AM: publishOrigin: config
4:09:30 AM: redirects:
4:09:31 AM: - from: /de/*
status: 404
to: /de/404.html
- from: /fr/*
status: 404
to: /fr/404.html
- from: /it/*
status: 404
to: /it/404.html
- from: /*
status: 404
to: /404.html
redirectsOrigin: config
Caching artifacts
4:09:31 AM: Started saving build plugins
4:09:31 AM: Finished saving build plugins
4:09:31 AM: Started saving pip cache
4:09:31 AM: Finished saving pip cache
4:09:31 AM: Started saving emacs cask dependencies
4:09:31 AM: Finished saving emacs cask dependencies
4:09:31 AM: Started saving maven dependencies
4:09:31 AM: Finished saving maven dependencies
4:09:31 AM: Started saving boot dependencies
4:09:31 AM: Finished saving boot dependencies
4:09:31 AM: Started saving rust rustup cache
4:09:31 AM: Finished saving rust rustup cache
4:09:31 AM: Started saving go dependencies
4:09:31 AM: Finished saving go dependencies
4:09:33 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:09:33 AM: Creating deploy upload records
4:09:33 AM: Failing build: Failed to build site
4:09:33 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2
4:09:34 AM: Finished processing build request in 15.569454243s
Thanks