Npm install peerDependencies fail on update to 0.14.2 - fails with its own react-dom
Updated react to latest build in order to use the react-d3-components library which had a hard dependency and now I get these errors. All the versioning below seems as though it should pass the corresponding versioning logic. Have uninstalled and reinstalled all node_modules, make sure have latest versions but nothing working.
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants react@^0.13.0
npm ERR! peerinvalid Peer [email protected] wants react@>=0.13.3 || ^0.14.0-rc1
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.2
I always find these confusing as hell, but react-leaflet is announcing itself as not compatible with React 0.14 and that's probably the source of the problem.
npm ERR! peerinvalid Peer [email protected] wants react@^0.13.0
thanks for responding. Looks like that's not the issue though - see release v0.8.0 https://github.com/PaulLeCam/react-leaflet/releases
@AlexHandy1 It's not trying to install 0.8 for you though, possibly locked dependency?
@syranide - good spot. Strange given it has the '^' caret. Maybe that will solve one of the errors. Installing react-dom as a separate npm package has also helped resolve the react-dom error
@AlexHandy1 0-versions are special.
Closing this out since it's a not a React issue but feel free to continue working through it here.