Have the same problem. its running good in heroku under production but showing
Error: Cannot use GraphQLObjectType "Query" from another module or realm.
running npm run develop. removed package-lock.json and purged node_modules, downgraded NPM version to v 6.14.15, tried to run npm run strapi uninstall graphql and npm run strapi install graphql.