react-native-i18n
react-native-i18n copied to clipboard
Undefined is not an object (evaluating 'RNI18n.languages[0]')
I init my project with Ignite but when launch my app with cli react-native run-ios the app not working and the errors message Undefined is not an object (evaluating 'RNI18n.languages[0]').
I tried: rm -rf node_modules yarn add react-native-i18n yarn start --reset-cache
But nothing work...
Sorry for my english
@mekaVR You need to link the module, as explained in the documentation
This is happening to me too. react-native link react-native-i18n
didn't help. I'm using react native 0.56 and node v8.11.1.
@zoontek i link the module but doesn't work. I removed the module in my project for the moment. Thanks for your response .
I got Same error and error was react-native-i18n version.So i tried a lot finally found the issue : npm install [email protected]
and its working fine now
@sahgarima works also for me! This is strange but it helps.
my problem was:
Error:
TypeError: null is not an object (evaluating 'RNI18n.languages')
Solution:
yard add [email protected]