TypeError: Cannot read property 'typeName' of undefined

I am using GraphQL to query data from Contentful within Gridsome. After deleting a field in one of my content types I can no longer run Gridsome. I am getting the following error:

TypeError: Cannot read property ‘typeName’ of undefined
at resolveValue (/Users/…/node_modules/gridsome/lib/graphql/createFieldDefinitions.js:76:23)

I tried to fix it by adding back a new field of the same type and with the same name as the one I deleted, but error persists. Is there a way in Contentful to undo a field deletion? Like the change history for content, but for content types?