Recently, I have been writing papers on Overleaf. When I tried import the IEEE two columns template, Overleaf displayed many errors like this

The solution is to insert the following command before \newenvironmentcommand.
1 |
\usepackage[T1]{fontenc} |

Now, the compiler should be able to render the document without any errors.