After using a submodule to push files directly to the public repository, Netlify says it can’t locate the config file. I’ve follow “Adding the Hugo Version to the environment variables” with no luck and have remade the website from scratch multiple times.
Any advice?
7:53:33 PM: Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
7:53:33 PM: Run hugo help new
for details.
7:53:33 PM: Total in 0 ms
7:53:33 PM:
7:53:33 PM: “build.command” failed
7:53:33 PM: ────────────────────────────────────────────────────────────────
7:53:33 PM:
7:53:33 PM: Error message
7:53:33 PM: Command failed with exit code 255: hugo
7:53:33 PM:
7:53:33 PM: Error location
7:53:33 PM: In Build command from Netlify app:
7:53:33 PM: hugo