$ npm install graphql react-apollo apollo-boost
// ошибка
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency treenpm ERR!
npm ERR! While resolving: application@0.0.0
npm ERR! Found: @types/react@18.3.3
npm ERR! node_modules/@types/react
npm ERR! dev @types/react@"^18.3.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @types/react@"^16.8.0" from react-apollo@3.1.5
npm ERR! node_modules/react-apollo
npm ERR! react-apollo@"*" 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\Admin\AppData\Local\npm-cache\_logs\2024-07-08T13_22_01_798Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\Admin\AppData\Local\npm-cache\_logs\2024-07-08T13_22_01_798Z-debug-0.log