Build command error

My site works fine locally, used CLI to push github fine. But when I try to deploy to netlify, I get the following error:

btw, my hugo version is 0.72.

5:45:20 AM: Build ready to start
5:45:22 AM: build-image version: ca811f47d4c1cbd1812d1eb6ecb0c977e86d1a1d
5:45:22 AM: build-image tag: v3.3.20
5:45:22 AM: buildbot version: 78b5536ab4f742c26705d3e953381b9cde6e22ef
5:45:22 AM: Fetching cached dependencies
5:45:22 AM: Starting to download cache of 254.7KB
5:45:22 AM: Finished downloading cache in 68.460871ms
5:45:22 AM: Starting to extract cache
5:45:22 AM: Failed to fetch cache, continuing with build
5:45:22 AM: Starting to prepare the repo for build
5:45:23 AM: No cached dependencies found. Cloning fresh repo
5:45:23 AM: git clone https://github.com/ib99/fishkeepingguru
5:45:24 AM: Preparing Git Reference refs/heads/master
5:45:26 AM: Starting build script
5:45:26 AM: Installing dependencies
5:45:26 AM: Python version set to 2.7
5:45:27 AM: v12.18.0 is already installed.
5:45:28 AM: Now using node v12.18.0 (npm v6.14.4)
5:45:28 AM: Started restoring cached build plugins
5:45:28 AM: Finished restoring cached build plugins
5:45:28 AM: Attempting ruby version 2.7.1, read from environment
5:45:29 AM: Using ruby version 2.7.1
5:45:30 AM: Using PHP version 5.6
5:45:30 AM: 5.2 is already installed.
5:45:30 AM: Using Swift version 5.2
5:45:30 AM: Started restoring cached go cache
5:45:30 AM: Finished restoring cached go cache
5:45:30 AM: go version go1.14.4 linux/amd64
5:45:30 AM: go version go1.14.4 linux/amd64
5:45:30 AM: Installing missing commands
5:45:30 AM: Verify run directory
5:45:31 AM: ​
5:45:31 AM: ┌─────────────────────────────┐
5:45:31 AM: │ Netlify Build │
5:45:31 AM: └─────────────────────────────┘
5:45:31 AM: ​
5:45:31 AM: ❯ Version
5:45:31 AM: @netlify/build 2.0.27
5:45:31 AM: ​
5:45:31 AM: ❯ Flags
5:45:31 AM: deployId: 5f0ed030a777d6206d2d3ed0
5:45:31 AM: mode: buildbot
5:45:31 AM: ​
5:45:31 AM: ❯ Current directory
5:45:31 AM: /opt/build/repo
5:45:31 AM: ​
5:45:31 AM: ❯ Config file
5:45:31 AM: No config file was defined: using default values.
5:45:31 AM: ​
5:45:31 AM: ❯ Context
5:45:31 AM: production
5:45:31 AM: ​
5:45:31 AM: ┌───────────────────────────────────┐
5:45:31 AM: │ 1. Build command from Netlify app │
5:45:31 AM: └───────────────────────────────────┘
5:45:31 AM: ​
5:45:31 AM: $ hugo
5:45:31 AM: ERROR 2020/07/15 09:45:31 ZZO theme does not support Hugo version 0.54.0. Minimum version required is 0.65.0
5:45:37 AM: Building sites … Total in 5942 ms
5:45:37 AM: Error: Error building site: logged 1 error(s)
5:45:38 AM: ​
5:45:38 AM: ┌─────────────────────────────┐
5:45:38 AM: │ “build.command” failed │
5:45:38 AM: └─────────────────────────────┘
5:45:38 AM: ​
5:45:38 AM: Error message
5:45:38 AM: Command failed with exit code 255: hugo
5:45:38 AM: ​
5:45:38 AM: Error location
5:45:38 AM: In Build command from Netlify app:
5:45:38 AM: hugo
5:45:38 AM: ​
5:45:38 AM: Resolved config
5:45:38 AM: build:
5:45:38 AM: command: hugo
5:45:38 AM: commandOrigin: ui
5:45:38 AM: publish: /opt/build/repo/public
5:45:38 AM: Caching artifacts
5:45:38 AM: Started saving build plugins
5:45:38 AM: Finished saving build plugins
5:45:38 AM: Started saving pip cache
5:45:38 AM: Finished saving pip cache
5:45:38 AM: Started saving emacs cask dependencies
5:45:38 AM: Finished saving emacs cask dependencies
5:45:38 AM: Started saving maven dependencies
5:45:38 AM: Finished saving maven dependencies
5:45:38 AM: Started saving boot dependencies
5:45:38 AM: Finished saving boot dependencies
5:45:38 AM: Started saving go dependencies
5:45:38 AM: Finished saving go dependencies
5:45:40 AM: Error running command: Build script returned non-zero exit code: 1
5:45:40 AM: Failing build: Failed to build site
5:45:40 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
5:45:41 AM: Finished processing build request in 18.39063229s

hmm, that’s annoying for sure! could you post your package.json pls?

thanks for the response. I don’t see a package.json in my project folder.

also, I don’t have any JS in my project. Just HTML running Hugo.

Hi, @ultra99, this is because the version of Hugo used is too low:

5:45:31 AM: ERROR 2020/07/15 09:45:31 ZZO theme does not support Hugo version 0.54.0. Minimum version required is 0.65.0

Version 0.54.0 was used. It does appear you have resolved this in a more recent deploy.

If there are other questions or concerns, please let us know.