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

Requiring unknown module "./locale/fa" #20

Closed
AE0011 opened this issue Nov 28, 2018 · 1 comment
Closed

Requiring unknown module "./locale/fa" #20

AE0011 opened this issue Nov 28, 2018 · 1 comment

Comments

@AE0011
Copy link

AE0011 commented Nov 28, 2018

Android 4.2.2 in release mode i got this runTime error:
com.facebook.react.common.JavascriptException: Requiring unknown module "./locale/fa"., stack:

"react-native-general-calendars": "^1.8.0",
"react-native": "0.51.0",

 <Calendar
                    type='jalaali'
                    hideExtraDays={true}
                    onDayPress={this.onDateChoose}
                    theme={{
                        textSectionTitleColor: '#b6c1cd',
                        selectedDayBackgroundColor: '#2b8ce5',
                        todayTextColor: '#2b8ce5',
                        dayTextColor: '#2d4150',
                        monthTextColor: '#0037a9',
                        textDayFontFamily: 'IRANSansMobileFaNum',
                        textMonthFontFamily: 'IRANSansMobileFaNum',
                        textDayHeaderFontFamily: 'IRANSansMobileFaNum',
                        textDayFontSize: fontSize36,
                        textMonthFontSize: fontSize36,
                        textDayHeaderFontSize: 12
                    }}
                />
@rghorbani
Copy link
Owner

I set the moment-jalaali package to be exact in the recent release. Hope it fixes your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants