gcds-components icon indicating copy to clipboard operation
gcds-components copied to clipboard

bug: Issue with NextJS and i18next-browser-languagedetector

Open daine opened this issue 1 year ago • 0 comments

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

https://github.com/cds-snc/platform-forms-client/pull/4281#issuecomment-2355728595

Additional Information | Informations supplémentaires

No response

daine avatar Sep 26 '24 04:09 daine