I am using VS Code to compile a document. The problem seems to be the bib file more specifically the error log states
'bibtex' is not recognized as an internal or external command
However, when I upload this on Overlead, it works flawlessly. Why is this happening?
Update: I also get the following
LaTeX fatal error: spawn bibtex ENOENT, . PID: undefined.
Update: Solution posted below. However, my question still holds; why did biblatex work and natbib didn't? Also, why wasn't bibtex detected before since it was installed this whole time?