HoudiniGraphql/intro

npm i fails due to graphql 15.5 dep

Closed this issue · 2 comments

nohea commented

when i degit the hello-houdini

npx degit houdinigraphql/intro hello-houdini
cd hello-houdini

$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: houdini-intro@0.0.1
npm ERR! Found: graphql@15.5.0
npm ERR! node_modules/graphql
npm ERR!   dev graphql@"15.5.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^15.7.2 || ^16.0.0" from graphql-subscriptions@2.0.0
npm ERR! node_modules/graphql-subscriptions
npm ERR!   graphql-subscriptions@"^2.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

Using node v16.15.1 / npm v8.11.0 / on ubuntu linux

For anyone stumbling on this, using yarn instead of npm works around this issue.

I guess I wasn't watching this repo so I missed this - I'll update it asap 👍