Netlify build returned non-zero exit code: 255

I need advice to debug deploy https://app.netlify.com/sites/suspicious-pare-9c023f/deploys/5dc33081a69202000ae04497

I am facing the issue:

Repository: https://github.com/wasim-ullah/brightin
Deployment: https://suspicious-pare-9c023f.netlify.com/

Log:

12:43:45 AM: Build ready to start
12:43:50 AM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63
12:43:50 AM: build-image tag: v3.3.2
12:43:50 AM: buildbot version: a2bab682ae0761baa4d123ebd00c57be933655dc
12:43:51 AM: Fetching cached dependencies
12:43:51 AM: Starting to download cache of 84.2MB
12:43:51 AM: Finished downloading cache in 573.419206ms
12:43:51 AM: Starting to extract cache
12:43:54 AM: Finished extracting cache in 3.082664527s
12:43:54 AM: Finished fetching cache in 3.719570662s
12:43:54 AM: Starting to prepare the repo for build
12:43:55 AM: Preparing Git Reference refs/heads/master
12:43:55 AM: Starting build script
12:43:55 AM: Installing dependencies
12:43:56 AM: Started restoring cached node version
12:43:58 AM: Finished restoring cached node version
12:43:59 AM: v10.17.0 is already installed.
12:44:00 AM: Now using node v10.17.0 (npm v6.11.3)
12:44:01 AM: Attempting ruby version 2.6.2, read from environment
12:44:02 AM: Using ruby version 2.6.2
12:44:03 AM: Using PHP version 5.6
12:44:03 AM: Started restoring cached go cache
12:44:03 AM: Finished restoring cached go cache
12:44:03 AM: unset GOOS;
12:44:03 AM: unset GOARCH;
12:44:03 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
12:44:03 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
12:44:03 AM: go version >&2;
12:44:03 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
12:44:03 AM: go version go1.12 linux/amd64
12:44:03 AM: Installing missing commands
12:44:03 AM: Verify run directory
12:44:03 AM: Executing user command: hugo
12:44:03 AM: Error: Unable to find theme Directory: /opt/build/repo/themes/hugonews
12:44:03 AM: Skipping functions preparation step: no functions directory set
12:44:03 AM: Caching artifacts
12:44:03 AM: Started saving pip cache
12:44:03 AM: Finished saving pip cache
12:44:03 AM: Started saving emacs cask dependencies
12:44:03 AM: Finished saving emacs cask dependencies
12:44:03 AM: Started saving maven dependencies
12:44:03 AM: Finished saving maven dependencies
12:44:03 AM: Started saving boot dependencies
12:44:03 AM: Finished saving boot dependencies
12:44:03 AM: Started saving go dependencies
12:44:03 AM: Finished saving go dependencies
12:44:03 AM: Error running command: Build script returned non-zero exit code: 255
12:44:03 AM: failed during stage 'building site': Build script returned non-zero exit code: 255
12:44:03 AM: Failing build: Failed to build site
12:44:03 AM: Finished processing build request in 12.504986878s

Please share your recommendations.

Hi! We always recommend a quick search of our forums if you haven’t done so already.

Is this post relevant?

1 Like

Yes, it is. Thank you

1 Like