joelgarciajr84/graphql-nodejs-mysql

Error npm i

GusakIurii opened this issue · 0 comments

PS D:\project\nodejs\graphql-nodejs-mysql\graphql-nodejs-mysql> npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: graphql-nodejs-api@1.0.0
npm ERR! Found: graphql@16.8.1
npm ERR! node_modules/graphql
npm ERR! graphql@"^16.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^14.7.0 || ^15.3.0" from express-graphql@0.12.0
npm ERR! node_modules/express-graphql
npm ERR! express-graphql@"^0.12.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!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\Delphin\AppData\Local\npm-cache_logs\2024-02-24T08_15_10_750Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Delphin\AppData\Local\npm-cache_logs\2024-02-24T08_15_10_750Z-debug-0.log