Replies: 2 comments 1 reply
-
I was having this issue as well, even though my first use of Latex Workshop had no issues. My fix was to close VSCode, then open it from the terminal with |
Beta Was this translation helpful? Give feedback.
-
Don't waste any more time—after trying at least 10 different solutions, the only one that works is installing the Full MacTeX." |
Beta Was this translation helpful? Give feedback.
-
I'm unable to use LatexWorkshop+VSCode as I'm getting the known error
LaTeX fatal error: spawn latexmk ENOENT, . PID: undefined.
. I'm using a fresh install of TexLive on Macos.Yet,
/Library/Tex/texbin
is in my path, as you can check from the output ofecho $PATH
:/Users/myusername/.nvm/versions/node/v11.10.0/bin:/Users/myusername/miniconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/myusername/.fig/bin
.Here is some other relevant system info.
However, when I try to compile I inevitably get the following error:
I even tried to force in LatexWorkshop settings by using the following in latexmk
"env": { "TEXMFHOME": "/Library/TeX/texbin/latexmk" }
I also restarted VSCode and OS several times. I already checked all related issues here (e.g. this), and also several issues on stackoverflow and tex.stackexchange, but I just can't make this work.
Can anyone help me here?
Beta Was this translation helpful? Give feedback.
All reactions