Yar dependency install issue [email protected] on Mac 10.9.4
I am getting the following error while trying to install the latest or [email protected] on Mac Mavericks 10.9.4 with [email protected]. Obviously some sort of dependency chain malfunction. npm ERR! peerinvalid The package hapi does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants [email protected] It installed without a problem with [email protected].
You're using an old version of yar. Upgrade to a newer yar and everything should be fine.
I originally started writing this: "I did sudo npm install -g hapi, I think it is supposed to take care of this". Turns out it does not! https://github.com/npm/npm/issues/1341 I imagined individual node_modules folder should prevent this type of an issue, apparently it is not the case yet. This is an issue with npm, not hapi. Therefore closing it.