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.
The following steps resolved the issue for me. Starting at the root level:
- Run
rm -rf public
andrm -rf node_modules
- Run
rm -r .cache
- Run
rm yarn.lock
andrm package-lock.json
- Run
yarn install
ornpm install
to reinstall dependencies and generate new lock files. - Run
yarn start
ornpm start