minimal working example is
\documentclass[12pt,reqno,a4paper]{amsart}
%\usepackage[utf8]{inputenc} % not needed with up-to-date TeX systems
\usepackage[english]{babel}
\usepackage{extsizes}
\usepackage{blindtext}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{mathtools}
\usepackage{color}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\usepackage{tikz-cd}
\usepackage[normalem]{ulem} % do you *really* need it?
\usepackage{datetime}
\usepackage{hyperref}
\begin{document}
\begin{tikzcd}
A \arrow[dd] \arrow[rr] & & B \arrow[dd] & & C \arrow[dd] \arrow[rr] & & D \arrow[dd] \\
& & \arrow[rr] & & & &\\
E \arrow[rr] & & F & & G \arrow[rr] & & H
\end{tikzcd}
\end{document}
From this minimal example, I expected two squares and an arrow pointing from one square to another square. It is showing error:
Package pgf Error: No shape named tikz@f@7-2-5 is known. I think the culprit is a tikzcd arrow in cell 2-3. Package pgf Error: No shape named tikz@f@7-2-5 is known. I think the culprit is a tikzcd arrow in cell 2-3. It is better to use one of the extsizes classes, if you can.