Minimum Example:
\documentclass{beamer}
\begin{document}
\begin{frame}[fragile]
\begin{verbatim}
asd
\end{verbatim}
\end{frame}
\end{document}
Error: "File ended while scanning use of \next."
Unfortunately this didn't fix it: Beamer - ! File ended while scanning use of \next
beamer. With recent version (3.61 ) it works without any problem. – Zarko Mar 10 '21 at 13:15\listfilesbefore\documentclass(perhaps outcomment theverbatimpart), then a compilation lists the package/class versions you are using. Additionally, just the generated.logfor this example from your sise, would also be of interest for those trying to help. As it can sometimes show MikTeX installations that are not properly updated. – daleif Mar 10 '21 at 13:33