Hi!
I’ve been setting up a short wiki for a Minecraft world my friends and I are playing on at https://corporateminecraft.netlify.app/ - I’ve been using mkdocs until this point with no issues, but suddenly, today, when I go to change a couple things, my site won’t build. I didn’t touch the requirements.txt file that has been doing just fine up until this point, so I’m completely lost as to what the issue could be.
Thanks in advance for any help and let me know if any more is needed from me!
@jamesbrainard As you’ve not provided any specific details it’s hard to guess at the issue or provide tips.
When you say “my site won’t build”, what’s the error that is being encountered?
If you don’t know, just provide the entire build log.
Have you tried running your build command locally to ensure it works there?
Compare the build image used for the last successful build and the failed build.
I’m running into build problem because the noble image is being used instead of focal as specified in the project config - there’s another issue on this forum for that.
Hi Nathan.
I have the same issue and I may provide a bit of feedback. After the initializing stage, which installs all the dependencies as usual, the build phase fails with:
$ mkdocs build
bash: line 1: mkdocs: command not found
Right. It seems that while the dependencies are properly installed, the initializeing phase doesn’t create the “entrypoint” script and thus the mkdocs command cannot be found.
A workaround is to replace:
mkdocs build
with
python -m mkdocs build