Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Dependency version mismatch error: Unable to install this module #351

Open
venkatesh8 opened this issue May 25, 2021 · 12 comments
Open

Dependency version mismatch error: Unable to install this module #351

venkatesh8 opened this issue May 25, 2021 · 12 comments

Comments

@venkatesh8
Copy link

venkatesh8 commented May 25, 2021

my Package.json

{
  "name": "client",
  "version": "0.1.0",
  "private": true,
  "proxy": "http://localhost:5000",
  "dependencies": {
    "@material-ui/core": "^4.11.4",
    "@material-ui/icons": "^4.11.2",
    "@material-ui/lab": "^4.0.0-alpha.58",
    "@testing-library/jest-dom": "^5.12.0",
    "@testing-library/react": "^11.2.7",
    "@testing-library/user-event": "^12.8.3",
    "axios": "^0.21.1",
    "jwt-decode": "^3.1.2",
    "moment": "^2.29.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-file-base64": "^1.0.3",
    "react-google-login": "^5.2.2",
    "react-redux": "^7.2.4",
    "react-router-dom": "^5.2.0",
    "react-scripts": "4.0.3",
    "redux": "^4.1.0",
    "redux-thunk": "^2.3.0",
    "web-vitals": "^1.1.2"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Error:

**npm i --save material-ui-chip-input@next**
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!   peer react@"^16.8.0 || ^17.0.0" from @material-ui/[email protected]
npm ERR!   node_modules/@material-ui/core
npm ERR!     @material-ui/core@"^4.11.4" from the root project
npm ERR!     peer @material-ui/core@"^4.0.0" from [email protected]
npm ERR!     node_modules/material-ui-chip-input
npm ERR!       material-ui-chip-input@"2.0.0-beta.2" from the root project
npm ERR!   1 more (react-dom)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.6" from [email protected]
npm ERR! node_modules/material-ui-chip-input
npm ERR!   material-ui-chip-input@"2.0.0-beta.2" from the root project
npm ERR! 
node -v
v14.15.4
npm -v
7.5.3
@7dp
Copy link

7dp commented Jun 22, 2021

Experiencing it too!

@porfyriosv
Copy link

any updates ?

@ankitjangiid
Copy link

Use --force to install, for the most part, it'll work. It is not a reliable solution but you can make it work.

@kshitijmittal27
Copy link

Use --force to install, for the most part, it'll work. It is not a reliable solution but you can make it work.

its not working

@sokoya
Copy link

sokoya commented Oct 13, 2021

Experiencing same issue. Any fix please

@rn2web
Copy link

rn2web commented Nov 5, 2021

:( dont work anymore?

@okkindel
Copy link

+1

@abhimanusharma
Copy link

Same issue

@yotalha
Copy link

yotalha commented Jan 2, 2022

+1

@monsund
Copy link

monsund commented Jan 4, 2022

using "--force" helped me while installing.

npm i --save material-ui-chip-input@next --force

@iilhamriz
Copy link

using "--force" helped me while installing.

npm i --save material-ui-chip-input@next --force

its work for me thanks

@viclafouch
Copy link

Hello ! This package (https://viclafouch.github.io/mui-chips-input/) supports both React 17 / 18 and MUI V5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests