I ran into an issue when i was working on a SharePoint hosted app, when the application loads it keeps throwing errors in the IE development tool that “RegisterSod is undefined”.
I was deploying the application to the following site url:
The cause of this problem is that i didn’t have a site in the root site collection, so i opened the Central Administration and created a site collection for the same web application that i am using to deploy my SharePoint apps to “appCatalog” site.
Re-deployed my application! it works!
Hope this helps!