# Fix “I can’t find file .aux” Error in Latex – Latex Tutorial

By | June 26, 2019

If you complie a latex file and you get an error: I can’t find file ***.aux, How to solve this problem?

In this tutorial, we will give a solution.

## Method: Check the structure of your latex file.

The most import one is you have lost some latex tag?

As to me, in the latex below, i miss \end{document}. so this prolem occured.

\documentclass[]{elsarticle}
\author[1]{author 1\corref{cor1}}
\author[2]{author 2}
\cortext[cor1]{Corresponding author}
\end{document}