Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Issue with NextJS and i18next-browser-languagedetector #653

Open
3 tasks done
daine opened this issue Sep 26, 2024 · 0 comments
Open
3 tasks done

bug: Issue with NextJS and i18next-browser-languagedetector #653

daine opened this issue Sep 26, 2024 · 0 comments
Labels
development Development tasks

Comments

@daine
Copy link
Collaborator

daine commented Sep 26, 2024

Prerequisites | Prérequis

GC Design System Components Package and Version | Paquet et version des composants de Système de design GC

[email protected]

Current Behavior | Comportement observé

Issues compiling on NextJS with i18next-browser-languagedetector

 ⨯ uncaughtException: TypeError: Cannot read properties of undefined (reading 'split')
    at Object.read (webpack-internal:///(ssr)/./node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js:92:30)

Expected Behavior | Comportement attendu

No errors

System Info | Information sur le système

No response

Steps to Reproduce | Étapes pour reproduire le bogue

See link to github issue below, which was a PR for a POC on GC Forms

Code Reproduction URL | URL de reproduction du code

cds-snc/platform-forms-client#4281 (comment)

Additional Information | Informations supplémentaires

No response

@daine daine changed the title bug: bug: Issue with NextJS and i18next-browser-languagedetector Sep 26, 2024
@daine daine added the development Development tasks label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Development tasks
Projects
None yet
Development

No branches or pull requests

1 participant