- Make sure that ...\cygwin\binis in yourPATH.
- Modify your "latex-workshop.latex.tools"configuration, or specifically thelatexmktool, as follows:
{
    "latex-workshop.latex.tools": [
      {
        "name": "latexmk",
        "command": "bash",
 "args": [