You need to install the standalone package to use LaTeX with
xournalpp. The following command will install it (needs root privileges).
'tlmgr install standalone'