I am trying to use \sqrt[n]{x} as a label in tikzcd, however there seems to be a problem with the [n] as when I run it with just \sqrt{x} there's no problem. Don't suppose anyone knows a way around this? The error is given below.
Thanks in advance :)



"{\sqrt[n]{x}}". – Sandy G Jan 12 '23 at 15:31