Running `build.sh` on Fedora 39 fails with `FATAL (antora): Cannot find module 'cheerio'`
See title. Following the instructions, I checked out the prod
branch and ran ./build.sh
. It started working away, but then failed:
[adamw@xps13a docs-fp-o (prod)]$ ./build.sh
This build script is using Podman to run the build in an isolated environment.
Trying to pull docker.io/antora/antora:3.0.0...
Getting image source signatures
Copying blob 9cb3f4115fdb done
Copying blob 16a1a5057866 done
Copying blob 97518928ae5f done
Copying blob 189b546b5e76 done
Copying blob 0328e268dee9 done
Copying blob ad8b526cbb1f done
Copying blob f4dabaa8a81b done
Copying config fdfd894374 done
Writing manifest to image destination
[00:42:53.244] FATAL (antora): Cannot find module 'cheerio'
Require stack:
- /antora/lib/extensions/qd-extension/set-excerpt.js
- /antora/lib/extensions/qd-extension/index.js
- /usr/local/share/.config/yarn/global/node_modules/@antora/user-require-helper/lib/index.js
- /usr/local/share/.config/yarn/global/node_modules/@antora/cli/lib/cli.js
- /usr/local/share/.config/yarn/global/node_modules/@antora/cli/lib/index.js
- /usr/local/share/.config/yarn/global/node_modules/@antora/cli/bin/antora
Add the --stacktrace option to see the cause of the error.