RegisterSod is undefined


I recently setup the SharePoint Dev machine and quickly tried to create a “Hello World” app, but got an error saying “RegisterSod is undefined”.


The issue is that I didn’t have root site created. Creating the root site fixed the issue.

Steps to create root site:

  • Go to Central Administration => Application Management
  • Create Site collection
  • Make sure to select root by selecting / in URL property.


Run the app again and the error should be gone now!

Hope it helps someone!


Add a Comment

Recent Posts