tikz を使用してスクリプトをコンパイル中に未定義の制御シーケンス エラーが発生しました

tikz を使用してスクリプトをコンパイル中に未定義の制御シーケンス エラーが発生しました

この投稿の最後に追加した最小限の TEX スクリプトをコンパイルすると、次のエラーが発生します。

(/texmf/tex/generic/libraries/pgflibraryplothandlers.code.tex 
! Undefined control sequence. 
l.24 \pgfdeclareplothandler
                            {\pgfplothandlercurveto}{}{%

この問題を解決する方法を誰か知っていますか?
よろしくお願いします。

GF7 さん

最小限のTEXサンプル:

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetheme{Madrid}
\setbeamercovered{transparent}
\title{title}
\author[M]{M}
\begin{document}
\begin{frame}
  \frametitle{title}
  \begin{tikzpicture}
    \draw[->](0.5,0.5) -- (0,0);
  \end{tikzpicture}
\end{frame}
\end{document}

関連情報