I didn't verify it (since I no longer have your version of macOS), but I have heard from a CRAN maintainer that Pandoc 2.9.x wouldn't work on lower versions of macOS. If you google for the error message, you can probably still see some CRAN log files that contain this message.