# Docuapi deployment errors

**URL:** <https://discourse.gohugo.io/t/docuapi-deployment-errors/41358>\
**Category:** support\
**Created:** [November 9, 2022, 9:29am UTC](https://discourse.gohugo.io/t/docuapi-deployment-errors/41358 "2022-11-09T09:29:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjap](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/benjap/32/18144_2.png) [@Benjap](https://discourse.gohugo.io/u/Benjap)\
**Post date:** [November 9, 2022, 9:29am UTC](https://discourse.gohugo.io/t/docuapi-deployment-errors/41358/1 "2022-11-09T09:29:43Z")

</div>

Hi i am new to Hugo, and tried to set up the docuapi theme.

When i run hugo server -D i get this message

C:\Hugo\Sites\example.com\>hugo server -D  
hugo: downloading modules …  
hugo: collected modules in 6562 ms  
Error: module “[GitHub - slatedocs/slate: Beautiful static documentation for your API](http://github.com/slatedocs/slate)” not found; either add it as a Hugo Module or store it in “C:\Hugo\Sites\example.com\themes”.: module does not exist

I can browse to the location [GitHub - slatedocs/slate: Beautiful static documentation for your API](http://github.com/slatedocs/slate) - so don’t understand why it cant access/not found

I have downloaded (zip) from the above. I unzipped it to C:\Hugo\Sites\example.com\themes

This created a folder called slate-main and within that, another folder called slate-main, within that the files. (C:\Hugo\Sites\example.com\themes\slate-main\slate-main)

This didn’t work. (same error as above)

I copied the files into the second slate-main folder (C:\Hugo\Sites\example.com\themes\slate-main\)

This didn’t work. (same error as above)

I copied the files into the root of themes (C:\Hugo\Sites\example.com\themes)

This didn’t work. (same error as above)

Any idea why the option “store it in “C:\Hugo\Sites\example.com\themes”” didnt work or how I add a add it as a hugo module.?

**Update**

I tried hugo mod init…/slatedocs/slate, and get this error.

C:\Hugo\Sites\example.com\>hugo mod init …/slatedocs/slate  
hugo: downloading modules …  
go: …slatedocs/slate@upgrade: module …/slatedocs/slate: git ls-remote -q origin in C:\Users\user~1\AppData\Local\Temp\hugo\_cache\modules\filecache\modules\pkg\mod\cache\vcs\c2c1e4665449b9056cda81eb788c69797cfcd15f05a635aa0de77a0da993cd68: exit status 128:  
fatal: unable to access …/slatedocs/slate/': OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL in connection to …github.com:443  
hugo: collected modules in 20649 ms  
WARN 2022/11/09 15:22:26 failed to get [“-d” “…github.com/slatedocs/slate@upgrade”]: failed to …

The error is longer but as a new user cannot post more links  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [November 10, 2022, 12:18pm UTC](https://discourse.gohugo.io/t/docuapi-deployment-errors/41358/2 "2022-11-10T12:18:36Z")

</div>

So, assuming you have a reasonably recent Go/Hugo version (check with go version/hugo version), you should be able to just include the theme in config.toml and run hugo.

What happens if you just

1. clone [GitHub - bep/docuapi: Beautiful multilingual API documentation theme for Hugo](https://github.com/bep/docuapi)
2. navigate into the exampleSite folder there and run hugo?

There might be some Windows issue here I don’t understand.

---

<div class="post-metadata">

**Author:** ![Benjap](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/benjap/32/18144_2.png) [@Benjap](https://discourse.gohugo.io/u/Benjap)\
**Post date:** [November 10, 2022, 12:32pm UTC](https://discourse.gohugo.io/t/docuapi-deployment-errors/41358/3 "2022-11-10T12:32:51Z")

</div>

Version info

```auto
hugo v0.105.0-0e3b42b4a9bdeb4d866210819fc6ddcf51582ffa windows/amd64 BuildDate=2022-10-28T12:29:05Z VendorInfo=gohugoio

go version go1.19.3 windows/amd64

```

Although I did this by downloading the zip, I did it using clone.

and now… it works !! thank you…
