-
-
Notifications
You must be signed in to change notification settings - Fork 425
Picker error when building with expo #610
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
Comments
Same here :( |
Same |
1 similar comment
Same |
The code obviously has wrong imports, instead of Same for few other places. It seems that the picker.js file was renamed or moved and someone forgot to update the import references. If I do these changes locally, the build works. However, it's strange that this happens only on web, not for Android or IOS build. |
@tvbegovic that is exactly the problem, I was able to locally run the project successfully doing the changes you mentioned (I have the same setup as @kjkurtz To be specific this is what I changed: I just added .android to each of those highlighted imports |
I left a pull request for this issue |
🎉 This issue has been resolved in version 6.1.4 🎉 If this package helps you, consider sponsoring us! 🚀 |
Bug report
Summary
While using the latest expo with the latest DateTimePicker, breaks the build for web. Although this component is not compatible with web, it has never been an issue for the build to succeed up until v6. It builds fine with v4 and v5. The following error occurs when doing
expo start --web
.Reproducible sample code
https://github.com/kjkurtz/test-expo-project
Run
yarn install
and thenSteps to reproduce
DateTimePicker
component within a viewexpo start --web
. At this point, you should see the errorEnvironment info
Expo 45
datetimepicker version: 6.1.2
The text was updated successfully, but these errors were encountered: