question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native-modal-datetime-picker not working with react-native-modal 9.0.0

See original GitHub issue

After install the react-native-modal 9.0.0 the following error is displayed:

Loading dependency graph, done. error: bundling failed: Error: Unable to resolve module ./animations from node_modules\react-native-modal\src\index.js: The module ./animations could not be found from \node_modules\react-native-modal\src\index.js. Indeed, none of these files exist: \node_modules\react-native-modal\src\animations

The error is presented because react-native-modal-datetime-picker is using “react-native-modal”: “6.2.0”.

react-native-modal-datetime-picker: “6.0.0” react-native-modal: 9.0.0 react-native: “0.58.5”

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SystemBladcommented, Mar 15, 2019

Hi @mmazzarolo, is working perfect with master branch that is using “react-native-modal”: “^9.0.0”.

Thank you very much

0reactions
helloeyesimplecommented, Apr 28, 2019

I’m using 7.4.0 and the issue is back. It cannot show the modal again after setState to false. Not sure if this is the same issue or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-modal-datetime-picker - npm
This library exposes a cross-platform interface for showing the native date-picker and time-picker inside a modal, providing a unified user and ...
Read more >
react-native-modal-datetime-picker/README.md - UNPKG
The CDN for react-native-modal-datetime-picker. ... 101. 102, ## Frequently Asked Questions. 103. 104, ### The component is not working as expected. 105.
Read more >
React Native Modal Date Picker - why am I getting an extra ...
react-native-modal-datetime-picker library have fixed this issue. check your library version and update library version >9.0.0.
Read more >
Classic build works but not EAS Build - #5 by joshua-splend
I also tried upgradin gto latest expo sdk and got similar errors. Managed workflow eas-cli/0.47.0 darwin-x64 node-v16.13.2. Running npm in the ...
Read more >
A React Native datetime-picker for Android and iOS - Morioh
Frequently Asked Questions. The component is not working as expected. Under the hood react-native-modal-datetime-picker uses @react- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found