Error: Failed to run 'pdflatex' to create pdf to preview
I keep getting this error in my build of sublime 3. To be clear, my files compile perfectly and I have no other problems with Latex but this. The problem is that sublime keeps putting this error inline right below where I am typing and it is very distracting. It is causing no other problems, it is just distracting. It only seems to show up when I enter mathmode, whenever I type $$ and write something in here $$ it gives me that error.
Does anyone know how to disable preview or how to get rid of this error?