hapi icon indicating copy to clipboard operation
hapi copied to clipboard

Yar dependency install issue [email protected] on Mac 10.9.4

Open serkanserttop opened this issue 12 years ago • 2 comments

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].

serkanserttop avatar Jul 12 '14 14:07 serkanserttop

You're using an old version of yar. Upgrade to a newer yar and everything should be fine.

cjihrig avatar Jul 12 '14 14:07 cjihrig

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.

serkanserttop avatar Jul 12 '14 15:07 serkanserttop