TypeError: gql is not a function code example Example: gql TypeError: Object(...) is not a function import gql from 'graphql-tag'; // then use it normally