Логи есть?
$ yarn codegen yarn run v1.22.17 $ graphql-codegen --config codegen.yml √ Parse configuration > Generate outputs > Generate generated/index.tsx × Load GraphQL schemas → Failed to load schema Load GraphQL documents Generate Found 1 error ✖️ generated/index.tsx Failed to load schema from http://localhost:1337/graphql: Request with GET/HEAD method cannot have body. TypeError: Request with GET/HEAD method cannot have body.
https://github.com/dotansimha/graphql-code-generator/issues/8012#issuecomment-1172625181
добавил "resolutions": { "undici": "5.5.1" } и заработало, спасибо большое
Обсуждают сегодня