@commentsBot is this outdated or not? When I follow the tutorial I get a whole different fragmentTypes.json file then you did:
{
"possibleTypes": {
"GenericMorph": [
"ComponentContentImage",
"ComponentContentJumbotron",
"ComponentContentText",
"HomePage",
"I18NLocale",
"Page",
"Property",
"UploadFile",
"UploadFolder",
"UsersPermissionsPermission",
"UsersPermissionsRole",
"UsersPermissionsUser"
],
"HomePageContentSectionsDynamicZone": [
"ComponentContentImage",
"ComponentContentText",
"Error"
]
}
}
resulting in a Cannot read property 'types' of undefined error:
introspectionResultData.__schema.types.forEach(function (type) {
And that makes sense, because there’s no __schema in my fragmentTypes.json