How can I get the \nameref command of the hyperref package to work while the enumitem package is loaded? The following gives an error while removing the enumitem fixes it.
\documentclass{article}
\usepackage{enumitem}
\usepackage{hyperref}
\begin{document}
\begin{description}
\item [{Test\label{Test}}] Some text
\end{description}
\nameref{Test}
\end{document}
I tried to change the order of the packages but that does not help either.
! Undefined control sequence. <argument> ...el \fi }\enit@before \enit@negwidth l.42 \item [{Test}\label{Test}] Some text The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.– Daniel Jul 18 '19 at 08:24