This Command does not work for some reason:
npm install graphql@0 apollo-server-express@2
Error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: graphql@0.13.2 npm ERR! node_modules/graphql npm ERR! graphql@"0" from the root project npm ERR! peer graphql@"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from apollo-server-express@2.25.2 npm ERR! node_modules/apollo-server-express npm ERR! apollo-server-express@"2" from the root project npm ERR! 7 more (apollo-server-core, apollo-server-types, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer graphql@"^14.2.1 || ^15.0.0" from apollo-graphql@0.9.3 npm ERR! node_modules/apollo-server-core/node_modules/apollo-graphql npm ERR! apollo-graphql@"^0.9.0" from apollo-server-core@2.25.2 npm ERR! node_modules/apollo-server-core npm ERR! apollo-server-core@"^2.25.2" from apollo-server-express@2.25.2 npm ERR! node_modules/apollo-server-express npm ERR! apollo-server-express@"2" 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! See /.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /_logs/2021-06-26T18_11_02_139Z-debug.log
This Command does not work for some reason:
npm install graphql@0 apollo-server-express@2Error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: graphql@0.13.2 npm ERR! node_modules/graphql npm ERR! graphql@"0" from the root project npm ERR! peer graphql@"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from apollo-server-express@2.25.2 npm ERR! node_modules/apollo-server-express npm ERR! apollo-server-express@"2" from the root project npm ERR! 7 more (apollo-server-core, apollo-server-types, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer graphql@"^14.2.1 || ^15.0.0" from apollo-graphql@0.9.3 npm ERR! node_modules/apollo-server-core/node_modules/apollo-graphql npm ERR! apollo-graphql@"^0.9.0" from apollo-server-core@2.25.2 npm ERR! node_modules/apollo-server-core npm ERR! apollo-server-core@"^2.25.2" from apollo-server-express@2.25.2 npm ERR! node_modules/apollo-server-express npm ERR! apollo-server-express@"2" 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! See /.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /_logs/2021-06-26T18_11_02_139Z-debug.log