title: React Native: Under what circumstances do you have to manually add dependencies of your dependencies?
body: <p>I have the component <code>react-native-modal-datetime-picker</code> in my React Native project. It's throwing the following error:</p>
  
  <p><strong>error: bundling failed: Error: Unable to resolve module '@react-native-community/datetimepicker' from 'node_modules/react-native-modal-datetime-picker/src/DateTimePickerModal.android.js: @react-native-community/datetimepicker could not be found within the project.</strong></p>
  
  <p>It seems that there's a reference in the <code>react-native-modal-datetime-picker</code> module to the <code>@react-native-community/datetimepicker</code> module. I've never run into a scenario before where I had to manually add a dependency of another dependency. Does anyone have any insight on why this is happening?</p>