cooperka / react-native-immutable-list-view

:scroll: Drop-in replacement for ListView, FlatList, and VirtualizedList.
MIT License
205 stars 30 forks source link

npm install react-native-immutable-list-view --save warning #21

Closed lucaslz2020 closed 7 years ago

lucaslz2020 commented 7 years ago
├── UNMET PEER DEPENDENCY react@16.0.0-alpha.6
└─┬ react-native-immutable-list-view@0.4.3 
  └── immutable@3.8.1 

npm WARN react-native-immutable-list-view@0.4.3 requires a peer of react@>=15.1

cooperka commented 7 years ago

Unfortunately, semver doesn't match alpha releases (or anything that comes after the dash) when using version ranges. Even using * would not work, so this warning seems to be impossible to get rid of. There's nothing wrong though, you can safely ignore it!

You can try the calculator here to see how it behaves: https://semver.npmjs.com/

lucaslz2020 commented 7 years ago

Thank you for your answer

cooperka commented 7 years ago

This should actually be fixed by https://github.com/cooperka/react-native-immutable-list-view/commit/cd1f228acb89b366e1dcc626efd34f8a9f353713 now :)