Hi, looked around and I see similar topics but not exactly my situation.
Had hugo site on laptop. Still there, works fine. I run hugo on it from site dir to build the site each time, no problem.
I now want to use my desktop. All files are in place, I see the config.toml right there. I go to the site dir, run Hugo, and get this error:
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
hugo help new for details.
Not sure why. My guesses are:
- hugo doesn’t “know” about this dir, maybe I need to specify somewhere. the config.toml points to my domain online, as it should
- permission issue, especially for Hugo (since this is linux). Wasn’t a problem before, maybe it is now?
What do you think?