Open sfemewhy opened 1 year ago
I'm receiving the following error. Does the plug-in support Gatsby 5.3? ERROR #85923 GRAPHQL.VALIDATION, There was an error in your GraphQL query: Cannot query field "allLocale" on type "Query".
{ resolve: gatsby-source-filesystem, options: { name: locales, path: ${__dirname}/src/locale/, }, }, { resolve: gatsby-plugin-react-i18next, options: { localeJsonSourceName: "locale", languages: [en, de], defaultLanguage: en, generateDefaultLanguagePage: true, redirect: true, siteUrl: https://localhost:8000/, // to be overridden i18nextOptions: { defaultNS: "common", debug: false, keySeparator: false, nsSeparator: false, },
gatsby-source-filesystem
locales
${__dirname}/src/locale/
gatsby-plugin-react-i18next
en
de
https://localhost:8000/
excludes: ["/**/404", "/**/404.html"], pages: [ { matchPath: "/:lang?/(.*)", getLanguageFromPath: true, languages: ["en", "de"], }, ], }, },
Same problem here
I am encountering the same issue with Gatsby 5.13.17 and gatsby-plugin-react-i18next 3.0.1.
I'm receiving the following error. Does the plug-in support Gatsby 5.3? ERROR #85923 GRAPHQL.VALIDATION, There was an error in your GraphQL query: Cannot query field "allLocale" on type "Query".
Here's my config:
{ resolve:
gatsby-source-filesystem
, options: { name:locales
, path:${__dirname}/src/locale/
, }, }, { resolve:gatsby-plugin-react-i18next
, options: { localeJsonSourceName: "locale", languages: [en
,de
], defaultLanguage:en
, generateDefaultLanguagePage: true, redirect: true, siteUrl:https://localhost:8000/
, // to be overridden i18nextOptions: { defaultNS: "common", debug: false, keySeparator: false, nsSeparator: false, },