Hugo version: 0.124.1
After installing Go (and git), through PowerShell in Windows 10, I navigated to the path ~\Downloads\theme-academic-cv-main\theme-academic-cv-main
(downloaded from GitHub - HugoBlox/theme-academic-cv: 🎓 无需编写任何代码即可轻松创建漂亮的学术网站 Easily create a beautiful academic résumé or educational website using Hugo and GitHub. No code.), and tried hugo server
. However, it throws the following error
Error: command error: failed to load modules: failed to download modules: failed to execute 'go [mod download -modcacherw]': failed to execute binary "go" with args [mod download -modcacherw]: go: git init --bare in C:\Users...\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\cache\vcs\bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in %PATH% go: git init --bare in C:\Users...\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\cache\vcs\bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in %PATH% go: git init --bare in C:\Users...\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\cache\vcs\bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in %PATH% *errors.errorString
I tried hugo mod clean
which faild as follows:
go: git init --bare in C:\Users...\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\cache\vcs\bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in %PATH%
What am I doing wrong here?