Error: Error building site: open C:\Hugo\content

Hello everyone, I’m starting with Hugo and I’m not able to run the server. I did the installation for the windows system according to the procedures, however when trying to run the following error appears:

Building sites … Total in 2 ms
Error: Error building site: open C:\Hugo\content: The system cannot find the file specified

I have installed the theme https://themes.gohugo.io/hugo-fresh/.

I tried running the server by cmd in all possible folders inside hugo, inside bin, main hugo, inside the site I created, and I have the same error.

use hugo --debug to see what hugo ist doing

1 Like