crazy_str
@crazy_str
web-программист

Не могу понять в чем проблема nodeJS?

Ребят всем привет, помогите править package.json при попытке npm i вылетает вот это
While resolving: ui@0.1.0
Found: react@16.14.0
node_modules/react
  react@"^16.14.0" from the root project

Could not resolve dependency:
peer react@"^15.4.2" from react-addons-css-transition-group@15.6.2
node_modules/react-addons-css-transition-group
  react-addons-css-transition-group@"^15.6.2" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.


package.json
{
  "name": "ui",
  "homepage": ".",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@kiyasov/noty": "^1.1.4",
    "@material-ui/core": "^4.9.1",
    "@material-ui/icons": "^4.9.1",
    "animate.css": "^3.7.2",
    "autosize": "^4.0.2",
    "jquery": "^3.4.1",
    "material-icons-react": "^1.0.4",
    "material-table": "^1.56.1",
    "noty": "^3.2.0-beta",
    "react": "^16.14.0",
    "react-addons-css-transition-group": "^15.6.2",
    "react-animated-css": "^1.2.1",
    "react-dom": "^16.14.0",
    "react-input-range": "^1.3.0",
    "react-ionicons": "^3.1.4",
    "react-router-dom": "^5.1.2",
    "react-scripts": "^3.3.0",
    "react-slick": "^0.25.2",
    "react-snake": "^1.0.3",
    "react-snake-game": "^1.0.9",
    "recompose": "^0.30.0",
    "uifx": "^2.0.7"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}


npm -v 8.1.3
  • Вопрос задан
  • 120 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы