Hugo site isn't building

Hello.
I have been using Hugo for two months for my site. Previously, site building was very fast. Now for some reason it doesn’t happen. When I enter the command “hugo”, I get the response “Start building sites …”. And nothing else happens. No answer. Only part of images and videos are published in the “public” folder, html pages are not published…

What have you changed? Have you upgraded hugo?

What happens when you run hugo server? Have you tried with the -v switch (for verbose)?

Hello.
I haven’t changed anything. I haven’t upgraded Hugo.
When I run hugo server, the site is running on the local server.
And yes, when I use the -v switch, I get the following output:

$ hugo -v
INFO 2021/01/02 07:12:37 Using config file:
Start building sites …
INFO 2021/01/02 07:12:37 syncing static files to C:\Users\user\valuykidocs\public\
$ hugo server
Start building sites …
WARN 2021/01/02 07:20:57 Expand shortcode is deprecated. Use 'details' instead.

                   | EN
-------------------+------
  Pages            | 136
  Paginator pages  |   0
  Non-page files   | 396
  Static files     | 111
  Processed images |   0
  Aliases          |   2
  Sitemaps         |   1
  Cleaned          |   0

Built in 5077 ms
Watching for changes in C:\Users\user\valuykidocs\{archetypes,content,data,layouts,themes}
Watching for config changes in C:\Users\user\valuykidocs\config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Please have a look at the Requesting Help topic, it contains some useful tips.

Namely, we cannot know what is wrong without seeing the project in question or if that is not possible consider sharing a sample project with dummy content that reproduces the issue.

Hello, I can post a link to Dropbox where my project is located: https://www.dropbox.com/sh/0nxgujqzu5laxii/AAC_slExORy59pyjx-NnhMxqa?dl=0

I’m not a professional user and this is my first site.

Hello,

I cannot reproduce the issue on my machine. Your project seems to generate fine both on the local server and when executing the command hugo:

$ hugo
Start building sites …
WARN 2021/01/02 10:51:25 Expand shortcode is deprecated. Use 'details' instead.

                   | EN
-------------------+------
  Pages            | 136
  Paginator pages  |   0
  Non-page files   | 395
  Static files     | 111
  Processed images |   0
  Aliases          |   2
  Sitemaps         |   1
  Cleaned          |   0

Total in 5606 ms

Try clearing the cache with hugo --ignoreCache or something.

1 Like

Thank you very much!!! That helped.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.