Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

"Invalid Peer" error on dependencies for Travis builds #11

Open
ccjoel opened this issue Nov 9, 2016 · 0 comments
Open

"Invalid Peer" error on dependencies for Travis builds #11

ccjoel opened this issue Nov 9, 2016 · 0 comments

Comments

@ccjoel
Copy link

ccjoel commented Nov 9, 2016

All PR Jobs are failing due to peer dependencies being too flexible. using ^ and || under package.json. Should lock to a fixed react version to fix this:

npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v4.2.6/bin/node" "/home/travis/.nvm/versions/node/v4.2.6/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.8
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.8
npm ERR! peerinvalid Peer [email protected] wants [email protected] || 0.14.x || ^15.0.0-0 || 15.x

I guess [email protected], while also using fixed versions for enzyme et al would work?

@ccjoel ccjoel changed the title Peer invalid error on dependencies for Travis builds "Invalid Peer" error on dependencies for Travis builds Nov 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant