Hello, I have a problem with my site during the built phase on Netlify. Before I was able to publish a site and now I wanted to update it. The code worked fine locally on R markdown. Then I imported the new code on github and I tried to update my site on netlify but it gave me this error. I’ve been looking for help for 2 weeks.
Please help. The deposit is on my github account: GitHub - BOUGHANMIChaima/blogdown: personnal website
Thank you in advance.
4:45:44 PM: Netlify Build
4:45:44 PM: ────────────────────────────────────────────────────────────────
4:45:44 PM:
4:45:44 PM: ❯ Version
4:45:44 PM: @netlify/build 29.26.4
4:45:44 PM:
4:45:44 PM: ❯ Flags
4:45:44 PM: baseRelDir: true
4:45:44 PM: buildId: 6554e78d4a4ba92a891a8678
4:45:44 PM: deployId: 6554e78d4a4ba92a891a867a
4:45:44 PM:
4:45:44 PM: ❯ Current directory
4:45:44 PM: /opt/build/repo
4:45:44 PM:
4:45:44 PM: ❯ Config file
4:45:44 PM: /opt/build/repo/netlify.toml
4:45:44 PM:
4:45:44 PM: ❯ Context
4:45:44 PM: production
4:45:44 PM:
4:45:44 PM: build.command from netlify.toml
4:45:44 PM: ────────────────────────────────────────────────────────────────
4:45:44 PM:
4:45:44 PM: $ hugo --gc --minify
4:45:44 PM: Start building sites …
4:45:44 PM: hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df+extended linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio
4:45:45 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
4:45:45 PM: ERROR Could not find an author page at `/authors/admin`. Please check the value of `author` in your About widget and create an associated author page if one does not already exist. See https://wowchemy.com/docs/page-builder/#about
4:45:45 PM: Total in 491 ms
4:45:45 PM: Error: error building site: logged 1 error(s)
4:45:45 PM:
4:45:45 PM: "build.command" failed
4:45:45 PM: ────────────────────────────────────────────────────────────────
4:45:45 PM:
4:45:45 PM: Error message
4:45:45 PM: Command failed with exit code 1: hugo --gc --minify (https://ntl.fyi/exit-code-1)
4:45:45 PM:
4:45:45 PM: Error location
4:45:45 PM: In build.command from netlify.toml:
4:45:45 PM: hugo --gc --minify
4:45:45 PM:
4:45:45 PM: Resolved config
4:45:45 PM: build:
4:45:45 PM: command: hugo --gc --minify
4:45:45 PM: commandOrigin: config
4:45:45 PM: environment:
4:45:45 PM: - HUGO_VERSION
4:45:45 PM: - HUGO_ENV
4:45:45 PM: - HUGO_ENABLEGITINFO
4:45:45 PM: publish: /opt/build/repo/public
4:45:45 PM: publishOrigin: config
4:45:45 PM: headers:
4:45:45 PM: - for: /*
values:
Permissions-Policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
- for: /index.webmanifest
values:
Content-Type: application/manifest+json
- for: /index.xml
values:
Content-Type: application/rss+xml
4:45:45 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:45:45 PM: Failing build: Failed to build site
4:45:45 PM: Finished processing build request in 12.289s
Deploying
Skipped