I am finding that the open data site builder that comes with ArcGIS Hub does not play well with code developed using ArcGIS API for Javascript. I hope to see ESRI move toward making their web-related SDKs work seamlessly within ArcGIS Hub open data site builder, as much as possible.
Cheers,
Lee