RisingStack / graffiti-mongoose

⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node.js GraphQL ORM)
https://risingstack-graffiti.signup.team/
MIT License
382 stars 52 forks source link

UNMET PEER DEPENDENCY #202

Open jpacora opened 7 years ago

jpacora commented 7 years ago

Overview of the Issue

Error during npm nstall

MacBook-Pro-de-Jorge:CRM jpacora$ npm install graphql @risingstack/graffiti-mongoose  --save
crm@0.0.0 /Users/jpacora/Documents/Dev/CRM
├─┬ @risingstack/graffiti-mongoose@5.3.0 
│ ├─┬ babel-runtime@6.11.6 
│ │ └── core-js@2.4.1 
│ ├── UNMET PEER DEPENDENCY graphql@^0.5.0 || ^0.6.0 || ^0.7.0
│ ├── graphql-relay@0.4.3 
│ └── lodash@4.15.0 
└── UNMET PEER DEPENDENCY graphql@0.8.2

npm WARN @risingstack/graffiti-mongoose@5.3.0 requires a peer of graphql@^0.7.0 but none was installed.
npm WARN graphql-relay@0.4.3 requires a peer of graphql@^0.5.0 || ^0.6.0 || ^0.7.0 but none was installed.

Reproduce the Error

Exec: npm install graphql @risingstack/graffiti-mongoose --save

pswoodworth commented 7 years ago

This actually isn't a bug – it's NPM telling you that you'll need to install graphql as a peer dependency at version 0.7.X.

npm install graphql will install the latest, currently 0.8.3, which is not supported by graffiti-mongoose at the moment. npm install graphql@0.7 should clear things up for you.