![为什么“\crefname”命令会产生错误?](https://linux22.com/image/401618/%E4%B8%BA%E4%BB%80%E4%B9%88%E2%80%9C%5Ccrefname%E2%80%9D%E5%91%BD%E4%BB%A4%E4%BC%9A%E4%BA%A7%E7%94%9F%E9%94%99%E8%AF%AF%EF%BC%9F.png)
有人知道为什么\crefname{thm}{AAAA}{AAAAs}
命令会产生错误吗?
\documentclass{article}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[colorlinks,linkcolor=blue,citecolor=green]{hyperref}
\usepackage[nameinlink]{cleveref}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lemma}[thm]{Lemma}
\crefname{thm}{AAAA}{AAAAs}
\begin{document}
\section{Bla Bla}
\begin{thm}[My Theorem]\label{thm:b}
This is a theorem.
\end{thm}
\end{document}