Hi, when I try to deploy my website through netlify I got the following error:
2:18:34 PM: build-image version: 524714d1a66d1a967316f5c39465e22c77fdd56c (focal)
2:18:34 PM: build-image tag: v4.16.0
2:18:34 PM: buildbot version: 2956156cff73cc91029b26e56f43b4bf895eefff
2:18:34 PM: Fetching cached dependencies
2:18:34 PM: Starting to download cache of 177.0MB
2:18:36 PM: Finished downloading cache in 1.793829071s
2:18:36 PM: Starting to extract cache
2:18:37 PM: Finished extracting cache in 604.007059ms
2:18:37 PM: Finished fetching cache in 2.464956962s
2:18:37 PM: Starting to prepare the repo for build
2:18:37 PM: Preparing Git Reference refs/heads/main
2:18:37 PM: Parsing package.json dependencies
2:18:38 PM: Section completed: initializing
2:18:38 PM: Starting build script
2:18:38 PM: Installing dependencies
2:18:38 PM: Python version set to 2.7
2:18:39 PM: Started restoring cached node version
2:18:39 PM: Finished restoring cached node version
2:18:40 PM: Downloading and installing node v16.19.0...
2:18:40 PM: Downloading https://nodejs.org/dist/v16.19.0/node-v16.19.0-linux-x64.tar.xz...
2:18:40 PM: Computing checksum with sha256sum
2:18:40 PM: Checksums matched!
2:18:42 PM: Now using node v16.19.0 (npm v8.19.3)
2:18:42 PM: Enabling node corepack
2:18:42 PM: Started restoring cached build plugins
2:18:42 PM: Finished restoring cached build plugins
2:18:42 PM: Attempting ruby version 2.7.2, read from environment
2:18:43 PM: Using ruby version 2.7.2
2:18:43 PM: Using PHP version 8.0
2:18:43 PM: Installing Hugo 0.108.0
2:18:44 PM: hugo v0.108.0-a0d64a46e36dd2f503bfd5ba1a5807b900df231d+extended linux/amd64 BuildDate=2022-12-06T13:37:56Z VendorInfo=gohugoio
2:18:44 PM: Started restoring cached go cache
2:18:44 PM: Finished restoring cached go cache
2:18:45 PM: go version go1.19.4 linux/amd64
2:18:45 PM: /opt/build-bin/run-build-functions.sh: line 1034: /opt/buildhome/.gimme/env/go1.19.x.linux.amd64.env: No such file or directory
2:18:46 PM: Detected 0 framework(s)
2:18:46 PM: Installing missing commands
2:18:46 PM: Verify run directory
2:18:47 PM: β
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: Netlify Build
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: β
2:18:47 PM: β― Version
2:18:47 PM: @netlify/build 29.1.1
2:18:47 PM: β
2:18:47 PM: β― Flags
2:18:47 PM: baseRelDir: true
2:18:47 PM: buildId: 639b9d32c9ab0e000886c006
2:18:47 PM: deployId: 639b9d32c9ab0e000886c008
2:18:47 PM: β
2:18:47 PM: β― Current directory
2:18:47 PM: /opt/build/repo
2:18:47 PM: β
2:18:47 PM: β― Config file
2:18:47 PM: /opt/build/repo/netlify.toml
2:18:47 PM: β
2:18:47 PM: β― Context
2:18:47 PM: production
2:18:47 PM: β
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: 1. build.command from netlify.toml
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: β
2:18:47 PM: $ hugo --gc --minify -b $URL
2:18:47 PM: Error: failed to download modules: binary with name "go" not found
2:18:47 PM: Total in 0 ms
2:18:47 PM: β
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: "build.command" failed
2:18:47 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2:18:47 PM: β
2:18:47 PM: Error message
2:18:47 PM: Command failed with exit code 255: hugo --gc --minify -b $URL (https://ntl.fyi/exit-code-255)
2:18:47 PM: β
2:18:47 PM: Error location
2:18:47 PM: In build.command from netlify.toml:
2:18:47 PM: hugo --gc --minify -b $URL
2:18:47 PM: β
2:18:47 PM: Resolved config
2:18:47 PM: build:
2:18:47 PM: command: hugo --gc --minify -b $URL
2:18:47 PM: commandOrigin: config
2:18:47 PM: environment:
2:18:47 PM: - HUGO_VERSION
2:18:47 PM: - HUGO_ENV
2:18:47 PM: - HUGO_ENABLEGITINFO
2:18:47 PM: publish: /opt/build/repo/public
2:18:47 PM: publishOrigin: config
2:18:47 PM: redirects:
2:18:48 PM: - from: /npmjs/* status: 200 to: /npmjs/ redirectsOrigin: configCaching artifacts
2:18:48 PM: Started saving build plugins
2:18:49 PM: Creating deploy upload records
2:18:48 PM: Finished saving build plugins
2:18:48 PM: Started saving pip cache
2:18:48 PM: Finished saving pip cache
2:18:48 PM: Started saving emacs cask dependencies
2:18:48 PM: Finished saving emacs cask dependencies
2:18:49 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
2:18:48 PM: Started saving maven dependencies
2:18:48 PM: Finished saving maven dependencies
2:18:48 PM: Started saving boot dependencies
2:18:48 PM: Finished saving boot dependencies
2:18:48 PM: Started saving rust rustup cache
2:18:48 PM: Finished saving rust rustup cache
2:18:48 PM: Started saving go dependencies
2:18:48 PM: Finished saving go dependencies
2:18:49 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:18:49 PM: Failing build: Failed to build site
2:18:50 PM: Finished processing build request in 15.489623499s