Closed Jarred-Sumner closed 7 years ago
The dependencies on react and react-native were added when jest tests were added. They should be devDependencies. I didn't realize that version had not been pushed to npm. In fact, the npm package has not been upgraded for over six months. Yikes!
Fixed by PR #66
After upgrading this package to
0.2.0
and updating to the latest version of React Native, this project when imported fails to build.I was able to fix it locally by deleting the folder in
node-modules/react-native
within thereact-native-sortable-listview
folder. It appears that a specific React Native version is hard-coded in thepackage.json
, so that if you have a different version, it tries to load two different versions of React Native - which can cause conflicts like these.This is the output of
react-native start
after upgrading: (but before my local fix)