Papaja RMD Knit Problem with Error: pandoc document conversion failed with error 83

I have R-4.0.3 installed with rmarkdown 2.5.3. I also installed the latest papaja 0.1.0.9997 package and pandoc 2.11.0.4. However, I was not able to knit the default apa6 template to pdf. I have no idea why. If you guys have any idea?

output file: proposal_template.knit.md

[WARNING] Deprecated: pandoc-citeproc filter. Use --citeproc instead.
Error running filter C:/ProgramData/chocolatey/bin/pandoc-citeproc.exe:
Filter returned error status -1
Error: pandoc document conversion failed with error 83
Execution halted

I also have this problem. Did you find a resolution?

This is an issue with the papaja package.

See my comment in the github repo

Your solution works partially for me. However, I ended up uninstalling MikTex and using tinytex::install_tinytex(). Thanks.