Closed billalive closed 2 years ago
So... this is embarrassing.
Turns out, I was not actually running gatsby build
, but make build
, a Makefile command that I assumed I had set up properly to run gatsby build
properly in my custom Docker. Alas, make build
was doing something else entirely. :blush:
I have now finally run gatsby build
properly, and all is well. Hope this didn't waste anyone's time.
Detailed description
After creating a site with this theme,
gatsby develop
works fine, andgatsby build
runs without error, but there does not seem to be anypublic/index.html
. Without an index.html, how can I publish my site?I expected
gatsby build
to createpublic/index.html
.Instead,
public/
has many files and directories, includingrender-page.js
andrender-page.js.map
, but noindex.html
.Steps to reproduce the issue
Additional information
The closest GitHub issues I could find were https://github.com/gatsbyjs/gatsby/issues/21843 and https://github.com/gatsbyjs/gatsby/issues/31795, but neither of them propose a concrete solution that seems to work with this starter.
Gatsby usually expects an
index.js
, but this starter usesindex.mdx
instead. Could there be a problem there? Is there some additional configuration needed here?Thank you!