Error: RootQueryType.allSitePage field type must be Output Type but got: SitePageConnection - mikebasta/softballmeetup GitHub Wiki

If you get this error message after cloning the repo, installing dependencies and starting the project, there likely are multiple versions of graphql in the dependency tree.

Issue #42

The following steps resolved the issue for me. Starting at the root level:

  1. Run rm -rf public and rm -rf node_modules
  2. Run rm -r .cache
  3. Run rm yarn.lock and rm package-lock.json
  4. Run yarn install or npm install to reinstall dependencies and generate new lock files.
  5. Run yarn start or npm start