# [Tex/LaTex] Error “latexmk: The script engine could not be found” in VS Code using MikTeX 2.9

idelatexmkmiktex2.9

LaTeX-Workshop on VS Code keeps printing this error:

latexmk: The script engine could not be found.
latexmk: Data: scriptEngine="perl.exe", scriptName="latexmk"

I installed 'latexmk' via MikTeX 2.9, yet it still gives me this message. What do I have to do?

2. Install the latexmk package with your TeX distribution.