When I set up development environment for apps for SharePoint 2013 and quickly get apps from SharePoint Store.However unfortunately,my IE throw a large number of errors and saying RegisterSod" undefined,SP undefined etc.
The issue is that the domain administrator didn't have root site created.So creating the root site fixed the issue.
Steps to create root site:
- Go to SharePoint 2013 Central Administration
- Choose Application Management
- Choose Create Site Collections
- Make sure to select root by selecting / in URL property
- Run the app again and the error should be gone now