Recently we migrated from sitecore 9.2 to 10.2. After deploying all the custom code, everything else seems to be working except Experience Editor. It gives below error in browser console:
I compared all the js appearing in console error with js files in vanilla instance. All of them are exactly the same. Can anyone please suggest what could be the possible reason for this issue. Thanks in advance.
sitecore\shell\client\Sitecore\ExperienceEditor\ExperienceEditor.js