The following code gives me an unexpected capacity exceeded error, and I don't understand why...
\[\begin{tikzpicture}[xscale=5, yscale=5.5]
node (1) at (0,0){
$\begin{tikzpicture}[xscale=0.6, yscale=0.6]
\tikzset{morphlabel/.style={draw=black, thin, rectangle, minimum width=7pt, fill=white,
font=\scriptsize}}
\node[morphlabel] at (0, 0) {$a$};
\end{tikzpicture}$};
\end{tikzpicture}]
What feels really odd to me is that I use almost identical code at other places, and don't get any error message?

tikzpictureinside tikz picture is asking for trouble. What exactly are you trying to do? – daleif Apr 14 '21 at 07:10nodeis missing a backslash. – campa Apr 14 '21 at 07:10