In the code below if I uncomment either of #1 or #2 or #3 it compiles, otherwise not. Why
\documentclass[12pt]{article}
\usepackage{keyfloat} % #1
\usepackage{filecontents}
\begin{filecontents*}{\jobname.glo}
\newglossaryentry{smith-j}
{
type=ppl,
name={Smith, J},
text={J. Smith},
description={}
}
\end{filecontents*}
%\addbibresource{\jobname.bib}
\usepackage{glossaries}
\makenoidxglossaries
%\setglossarystyle{tree}
\newglossary*{ppl}{People}
\loadglsentries[ppl]{\jobname.glo}
\usepackage{hyperref} % #2
\author{AUTHOR}
\title{TITLE}
\begin{document}
\maketitle
Do you know \gls{smith-j}?
\printnoidxglossaries % #3
\end{document}