Closed rossmartin closed 7 years ago
Same issue here Unable to resolve module react/lib/ReactPropTypes
, and I am using react-native@0.45.1
solution: just remove import ReactPropTypes from 'react/lib/ReactPropTypes';
This appears to be fixed by https://github.com/olofd/react-native-photos-framework/commit/360cc57a64af632e18935d4a090053dd56601e83
If the issue is still present just comment out import ReactPropTypes from 'react/lib/ReactPropTypes';
in src/index.js
.
I'm using RN 0.45.1 and the
import ReactPropTypes from 'react/lib/ReactPropTypes'
in src/index.js fails. It results in "Module does not exist in the module map..."The
PropTypes
module is not used onsrc/index.js
so you can safely comment it out. IfPropTypes
are needed you can useimport ReactPropTypes from 'prop-types'
.