Answer the question
In order to leave comments, you need to log in
I can not understand what is the problem with nodeJS?
Hello guys, help me edit package.json when I try to npm i crashes like this
While resolving: [email protected]0.1.0
Found: [email protected]16.14.0
node_modules/react
[email protected]"^16.14.0" from the root project
Could not resolve dependency:
peer [email protected]"^15.4.2" from [email protected]15.6.2
node_modules/react-addons-css-transition-group
[email protected]"^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.
{
"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"
]
}
}
Answer the question
In order to leave comments, you need to log in
The react-addons-css-transition-group package requires react version 15.4.2, you have react version 16.14.0 installed. Either roll back react or risk typing "npm i --force".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question