# Hugo Base Install can't find index.json

**URL:** <https://discourse.gohugo.io/t/hugo-base-install-cant-find-index-json/15337>\
**Category:** support\
**Created:** [November 15, 2018, 7:26pm UTC](https://discourse.gohugo.io/t/hugo-base-install-cant-find-index-json/15337 "2018-11-15T19:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramjet69](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@ramjet69](https://discourse.gohugo.io/u/ramjet69)\
**Post date:** [November 15, 2018, 7:26pm UTC](https://discourse.gohugo.io/t/hugo-base-install-cant-find-index-json/15337/1 "2018-11-15T19:26:55Z")

</div>

I have a new Hugo on windows 10 installation with the [docdock](https://themes.gohugo.io/docdock/) theme and the site mostly loads but I get a 404 can’t find `index.js`.

If I understand how Hugo works all the files on disk are loaded into memory and served from memory so the fact that I see `index.json` on disk is misleading…???

My install looks like this:

```auto
C:\Hugo\Bin\Hugo.exe
C:\Hugo\Sites\Abc.com\config.toml
C:\Hugo\Sites\Abc.com\themes\hugo-theme-docdock\theme.toml

```

`Abc.com\config.toml`:

```auto
baseURL = "/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "hugo-theme-docdock"

```

From Administrative command prompt:

```auto
c:\Hugo\Sites\Abc.com>Hugo serve

Building sites …
               | EN
+------------------+-----+
Pages | 7
Paginator pages | 0
Non-page files | 0
Static files | 209
Processed images | 0
Aliases | 2
Sitemaps | 1
Cleaned | 0

Total in 163 ms
Watching for changes in c:\Hugo\Sites\Humana.com\ {content,data,layouts,static,themes}
Watching for config changes in c:\Hugo\Sites\Humana.com\config.toml
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

```

Finally in the browser I get the docdock theme to mostly load but I get this 404:

> [http://localhost:1313/index.json](http://localhost:1313/index.json) 404 (Not Found)

Any advice would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [November 15, 2018, 7:38pm UTC](https://discourse.gohugo.io/t/hugo-base-install-cant-find-index-json/15337/2 "2018-11-15T19:38:56Z")

</div>

I know you’re on Windows, but on my Mac, `/index.json` was generated. A quick test:

1. `hugo new site docdock-test`
2. `cd docdock-test`
3. `git init`
4. `git submodule add https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock`
5. Copy example site contents to project root
  - Mac: `cp -R themes/docdock/exampleSite/* .`
  - Windows: `xcopy themes\docdock\exampleSite\* . /s /e`

6. Edit these lines in `config.toml` to be:

```auto
theme = "docdock"
# themesdir = "../.."

```

7. `hugo server`
8. Navigate to `http://localhost:1313/index.json`

* * *

Perhaps you don’t have the JSON output format specified? Try adding this to your `config.toml`:

```auto
[outputs]
home = ["HTML", "RSS", "JSON"]

```

* * *

Also see the docdock docs on [activating Lunr.js search](https://docdock.netlify.com/search/).
