Hugo + Netlify で独自ブログ開設を試みたが、ビルドでエラーが出る

I’m a beginner.
I don’t know how to solve it.

8:30:57 AM: build-image version: c88e1420630449f4a2fd995ed7cd2ef80eeab5f6 (focal)
8:30:57 AM: buildbot version: c88e1420630449f4a2fd995ed7cd2ef80eeab5f6
8:30:58 AM: Fetching cached dependencies
8:30:58 AM: Starting to download cache of 84.8MB
8:30:59 AM: Finished downloading cache in 1.346s
8:30:59 AM: Starting to extract cache
8:31:00 AM: Finished extracting cache in 655ms
8:31:00 AM: Finished fetching cache in 2.085s
8:31:00 AM: Starting to prepare the repo for build
8:31:00 AM: Preparing Git Reference refs/heads/main
8:31:01 AM: Starting to install dependencies
8:31:02 AM: Python version set to 3.8
8:31:02 AM: Attempting Ruby version 2.7.2, read from environment
8:31:02 AM: Using Ruby version 2.7.2
8:31:03 AM: Started restoring cached go cache
8:31:03 AM: Finished restoring cached go cache
8:31:04 AM: go version go1.19.13 linux/amd64
8:31:05 AM: Using PHP version 8.0
8:31:05 AM: Installing Hugo 0.121.1
8:31:05 AM: hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended linux/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio
8:31:06 AM: Started restoring cached Node.js version
8:31:09 AM: Finished restoring cached Node.js version
8:31:10 AM: v18.19.0 is already installed.
8:31:10 AM: Now using node v18.19.0 (npm v10.2.3)
8:31:10 AM: Enabling Node.js Corepack
8:31:10 AM: Started restoring cached build plugins
8:31:10 AM: Finished restoring cached build plugins
8:31:11 AM: Successfully installed dependencies
8:31:11 AM: Starting build script
8:31:11 AM: Detected 1 framework(s)
8:31:12 AM: “hugo” at version “unknown”
8:31:12 AM: Section completed: initializing
8:31:14 AM: ​
8:31:14 AM: Netlify Build
8:31:14 AM: ────────────────────────────────────────────────────────────────
8:31:14 AM: ​
8:31:14 AM: ❯ Version
8:31:14 AM: @netlify/build 29.31.1
8:31:14 AM: ​
8:31:14 AM: ❯ Flags
8:31:14 AM: baseRelDir: true
8:31:14 AM: buildId: 658cb3b0c7fcc44696c837c2
8:31:14 AM: deployId: 658cb3b0c7fcc44696c837c4
8:31:14 AM: packagePath: my-digital-garden
8:31:14 AM: ​
8:31:14 AM: ❯ Current directory
8:31:14 AM: /opt/build/repo
8:31:14 AM: ​
8:31:14 AM: ❯ Config file
8:31:14 AM: /opt/build/repo/netlify.toml
8:31:14 AM: ​
8:31:14 AM: ❯ Context
8:31:14 AM: production
8:31:14 AM: ​
8:31:14 AM: build.command from netlify.toml
8:31:14 AM: ────────────────────────────────────────────────────────────────
8:31:14 AM: ​
8:31:14 AM: $ hugo
8:31:14 AM: WARN deprecated: config: languages.ja.profilemode: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.ja.params]. See Multilingual mode | Hugo
8:31:14 AM: WARN Skip unknown config key “profilemode”
8:31:14 AM: WARN deprecated: config: languages.en.profilemode: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.en.params]. See Multilingual mode | Hugo
8:31:14 AM: Total in 1 ms
8:31:14 AM: Error: failed to load modules: module “PaperMod” not found in “/opt/build/repo/themes/PaperMod”; either add it as a Hugo Module or store it in “/opt/build/repo/themes”.: module does not exist
8:31:14 AM: ​
8:31:14 AM: “build.command” failed
8:31:14 AM: ────────────────────────────────────────────────────────────────
8:31:14 AM: ​
8:31:14 AM: Error message
8:31:14 AM: Command failed with exit code 1: hugo
8:31:14 AM: ​
8:31:14 AM: Error location
8:31:14 AM: In build.command from netlify.toml:
8:31:14 AM: hugo
8:31:14 AM: ​
8:31:14 AM: Resolved config
8:31:14 AM: build:
8:31:14 AM: command: hugo
8:31:14 AM: commandOrigin: config
8:31:14 AM: environment:
8:31:14 AM: - HUGO_VERSION
8:31:14 AM: - HUGO_ENV
8:31:14 AM: - HUGO_ENABLEGITINFO
8:31:14 AM: - publish
8:31:14 AM: - publishOrigin
8:31:14 AM: - functionsDirectory
8:31:14 AM: publish: /opt/build/repo/public
8:31:14 AM: publishOrigin: config
8:31:14 AM: functionsDirectory: /opt/build/repo/Users/netlify.toml
8:31:14 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:31:14 AM: Failing build: Failed to build site
8:31:15 AM: Finished processing build request in 17.353s
8:31:15 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2

The error message points you to a page in the documentation. Please read that page.

https://discourse.gohugo.io/search?q=module+does+not+exist

Thank you for your advice.
But I’m still worried.
I attached the materials, so could you give me additional advice?

Did you do this?
https://gohugo.io/hugo-modules/use-modules/#initialize-a-new-module

Did you do this?
https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

If you need additional assistance, please post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

Here’s my repository.
I would appreciate it if you could give me some advice.

I’m not sure what you are trying to do here, but this doesn’t make any sense:

module:
  imports:
  - path: github.com/xknt21/my-digital-garden

I suggest you start over, building your site locally before you try to host on Netlify.