Compile a .tex file with an error discribed above. Texlive is properly installed. However, correct pdf is available. If I use the default setting, there will be no error.
Creat a pdf file with no error.
LATEX toolchain terminated with error with correct pdf file available.
[18:42:00] Found root file from active editor: c:UsersthinkDocumentstemplatetemplate.tex
[18:42:00] Root file remains unchanged from: c:UsersthinkDocumentstemplatetemplate.tex.
[18:42:02] BUILD command invoked.
[18:42:02] Found root file from active editor: c:UsersthinkDocumentstemplatetemplate.tex
[18:42:02] Root file remains unchanged from: c:UsersthinkDocumentstemplatetemplate.tex.
[18:42:02] Building root file: c:UsersthinkDocumentstemplatetemplate.tex
[18:42:02] Build root file c:UsersthinkDocumentstemplatetemplate.tex
[18:42:02] Toolchain step 1: pdflatex, -synctex=1,-interaction=nonstopmode,-file-line-error,c:UsersthinkDocumentstemplatetemplate
[18:42:02] LaTeX log parsed with 0 messages.
[18:42:02] Toolchain step 2: bibtex, template
[18:42:03] Toolchain returns with error: 2/null.
LaTeX Workshop Output
Developer Tools Console
There are errors in your bib file.
It also occurs when there is no bib file in the project.
For most cases I have set the default building procedure to XeLaTeX -> BibTeX -> XeLaTeX -> XeLaTeX
A bib file is not a must. This should not be treated as an error!
Most helpful comment
It also occurs when there is no bib file in the project.
For most cases I have set the default building procedure to
XeLaTeX -> BibTeX -> XeLaTeX -> XeLaTeXA bib file is not a must. This should not be treated as an error!