Closed dennischen closed 1 month ago
Error: Requiring unknown module "./locale/auto". JS Engine: Hermes Stack Trace: 1. unknownModuleError@1:75944 2. loadModuleImplementation@1:75753 3. guardedLoadModule@1:75350 4. metroRequire@1:75015 5. loadLocale@1:856721 6. getLocale@1:857672 7. getSetGlobalLocale@1:856804 8. createI18next@1:1075698 9. anonymous@1:1617860 10. useMemo@1:422261 11. anonymous@1:149525 12. I18nProvider@1:1617470 13. renderWithHooks@1:377858 14. updateFunctionComponent@1:387072 15. updateSimpleMemoComponent@1:386384 16. updateMemoComponent@1:386142 17. beginWork@1:424143 18. performUnitOfWork@1:412231 19. workLoopSync@1:411361 20. renderRootSync@1:411192 21. flushSyncWorkAcrossRoots_impl@1:367536 22. scheduleUpdateOnFiber@1:408697 23. dispatchSetState@1:382276 24. ?anon_0_@1:1487839 25. asyncGeneratorStep@1:82730 26. _next@1:82988 27. anonymous@1:274041 28. _callTimer@1:273040 29. _callReactNativeMicrotasksPass@1:273184 30. callReactNativeMicrotasks@1:275107 31. __callReactNativeMicrotasks@1:94209 32. anonymous@1:93344 33. __guard@1:94083 34. flushedQueue@1:93255 35. invokeCallbackAndReturnFlushedQueue@1:93198
when set a un-supported language (i.e. auto) to moment cause this error, it dones't happend in dev and most phone in crashlytics currently:
fixed