react + apollo + graphql + codegen => error(graphql duplicate) fix
!!! Setting
https://www.apollographql.com/blog/tooling/apollo-codegen/typescript-graphql-code-generator-generate-graphql-types/
apollo codegenのようなエラーが発生しました.
糸とnpmではgraphqlバージョンが異なるため発生する.
このバージョンを使用してnode modulesとth糸cacheを削除し、再インストールします.
ただし、ノードバージョンが異なるため、再びエラーが発生したため、ノードバージョンをアップグレードして再インストールしました.
休む.
https://www.apollographql.com/blog/tooling/apollo-codegen/typescript-graphql-code-generator-generate-graphql-types/
apollo codegenのようなエラーが発生しました.
糸とnpmではgraphqlバージョンが異なるため発生する.
このバージョンを使用してnode modulesとth糸cacheを削除し、再インストールします.
rm -rf node_modules
yarn cache clean
npm install
yarn install
ただし、ノードバージョンが異なるため、再びエラーが発生したため、ノードバージョンをアップグレードして再インストールしました.
休む.
Reference
この問題について(react + apollo + graphql + codegen => error(graphql duplicate) fix), 我々は、より多くの情報をここで見つけました https://velog.io/@nuo/react-apollo-graphql-codegen-errorgraphql-duplicate-fixテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol