questo è il mio package json "{
  "name": "src",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc -b && vite build",
    "lint": "eslint .",
    "preview": "vite preview"
  },
  "dependencies": {
        "@fortawesome/free-brands-svg-icons": "^6.2.1",
        "@fortawesome/pro-regular-svg-icons": "^6.2.1",
        "@fortawesome/pro-solid-svg-icons": "^6.2.1",
        "@fortawesome/react-fontawesome": "^0.2.0",
        "@microsoft/signalr": "7.0.5",
        "@reduxjs/toolkit": "^1.9.2",
        "@types/lodash": "^4.14.191",
        "@types/react-datepicker": "^4.8.0",
        "@types/react-scroll": "^1.8.6",
        "axios": "^1.3.2",
        "buffer": "^6.0.3",
        "date-fns": "^2.29.3",
        "date-fns-tz": "^2.0.0",
        "lodash": "^4.17.21",
        "react": "^18.2.0",
        "react-datepicker": "^4.10.0",
        "react-dom": "^18.2.0",
        "react-modal": "^3.16.1",
        "react-promise-tracker": "^2.1.1",
        "react-redux": "^8.0.5",
        "react-router-dom": "6.8.1",
        "react-scroll": "^1.8.9",
        "react-select": "^5.7.0",
        "react-toastify": "^9.1.1",
        "react-virtualized-auto-sizer": "^1.0.7",
        "react-window": "^1.8.8",
        "redux-thunk": "^2.4.2",
        "simply-uuid": "^1.0.1",
        "ts-keycode-enum": "^1.0.6"
  },
  "devDependencies": {
    "@eslint/js": "^9.29.0",
    "@types/node": "^24.0.10",
    "@types/react": "^19.1.8",
    "@types/react-dom": "^19.1.6",
    "@vitejs/plugin-react": "^4.5.2",
    "eslint": "^9.29.0",
    "eslint-plugin-react-hooks": "^5.2.0",
    "eslint-plugin-react-refresh": "^0.4.20",
    "globals": "^16.2.0",
    "typescript": "~5.8.3",
    "typescript-eslint": "^8.34.1",
    "vite": "^7.0.0"
  }
}
"

ma nel fare npm i mi da questi errori 

"
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: react-redux@8.1.3
npm error Found: @types/react@19.1.8
npm error node_modules/@types/react
npm error   dev @types/react@"^19.1.8" from the root project
npm error   peer @types/react@"^19.0.0" from @types/react-dom@19.1.6
npm error   node_modules/@types/react-dom
npm error     dev @types/react-dom@"^19.1.6" from the root project
npm error   3 more (@types/react-datepicker, @types/react-scroll, @types/hoist-non-react-statics)
npm error
npm error Could not resolve dependency:
npm error peerOptional @types/react@"^16.8 || ^17.0 || ^18.0" from react-redux@8.1.3
npm error node_modules/react-redux
npm error   react-redux@"^8.0.5" from the root project
npm error   peerOptional react-redux@"^7.2.1 || ^8.0.2" from @reduxjs/toolkit@1.9.7
npm error   node_modules/@reduxjs/toolkit
npm error     @reduxjs/toolkit@"^1.9.2" from the root project
npm error
npm error Conflicting peer dependency: @types/react@18.3.23
npm error node_modules/@types/react
npm error   peerOptional @types/react@"^16.8 || ^17.0 || ^18.0" from react-redux@8.1.3
npm error   node_modules/react-redux
npm error     react-redux@"^8.0.5" from the root project
npm error     peerOptional react-redux@"^7.2.1 || ^8.0.2" from @reduxjs/toolkit@1.9.7
npm error     node_modules/@reduxjs/toolkit
npm error       @reduxjs/toolkit@"^1.9.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\s.vacirca\AppData\Local\npm-cache\_logs\2025-07-08T07_49_15_891Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\s.vacirca\AppData\Local\npm-cache\_logs\2025-07-08T07_49_15_891Z-debug-0.log

"