Skip to content

Instantly share code, notes, and snippets.

@mrlannigan
Created December 5, 2014 13:18
Show Gist options
  • Save mrlannigan/11bf30bd57253f822ee0 to your computer and use it in GitHub Desktop.
Save mrlannigan/11bf30bd57253f822ee0 to your computer and use it in GitHub Desktop.
peer dependencies hate me
λ tmp $ ls -al node_modules
ls: node_modules: No such file or directory
λ tmp $ npm install [email protected]
[email protected] node_modules/hapi
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
λ tmp $ ls -al node_modules
total 0
drwxr-xr-x 3 julian staff 102 Dec 5 08:17 .
drwxrwxrwt 113 root wheel 3842 Dec 5 08:17 ..
drwxr-xr-x 17 julian staff 578 Dec 5 08:17 hapi
λ tmp $ npm install [email protected]
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "[email protected]"
npm ERR! node v0.10.32
npm ERR! npm v2.1.3
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package hapi does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants hapi@>= 8.x.x
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment