JedWatson / react-tappable

Tappable component for React
http://jedwatson.github.io/react-tappable/
MIT License
862 stars 90 forks source link

Cannot install module with 0.14.0-beta1 #50

Closed steverandy closed 9 years ago

steverandy commented 9 years ago

Got this error when installing react-tappable with react 0.14.0-beta1.

npm ERR! peerinvalid The package react@0.14.0-beta1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-tappable@0.5.4 wants react@>=0.12.0
EvHaus commented 9 years ago

+1

slorber commented 9 years ago

this can be solved but there's a strange behavior with NPM for peerDependency.

See how others are doing: https://github.com/gaearon/react-hot-api/issues/18

slorber commented 9 years ago

I've made a PR for that: https://github.com/JedWatson/react-tappable/pull/52

However I would advice you not using beta1 for production as there's a bug for onChange listener of inputs. See https://github.com/facebook/react/issues/4288 You can still test the migration, it is not currently very documented but the error messages are useful.

JedWatson commented 9 years ago

Merged #52 and released v0.5.7