Dear Sir or Madam,
I’m trying to build a pdf thanks to pandoc with this script:
pipenv run pandoc --from markdown --to latex --filter pandoc-include -C README.md -o README.pdf
name: Test it
However, each build failed with the error
Error: the command pandoc could not be found within PATH or Pipfile's [scripts].
Could you help me please? Thanks.
Then, I would like to deploy it (private repo) to add a link to the PDF in the Readme on Github. Would you know a good tutorial? Thanks.
Welcome to the CircleCI community forum!
As per the error, it looks like the command is not found and looks to be an issue with the PATH.
I will suggest to SSH into a container and run the commands manually and then check the error. This will help you in troubleshooting the issue quickly.
I thank you very much for your welcome, your prompt answer, and your advice.
I finally suceeded in setting up my build with GitHub Actions. I had to install
texlive-xetex before installing Pandoc. I don’t know if it is the cause of the error in CircleCI. I will try to debug my build on CircleCI with SSH into a container if I have more time
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.