material-ui-chip-input
material-ui-chip-input copied to clipboard
Dependency version mismatch error: Unable to install this module
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
Experiencing it too!
any updates ?
Use --force
to install, for the most part, it'll work. It is not a reliable solution but you can make it work.
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
Experiencing same issue. Any fix please
:( dont work anymore?
+1
Same issue
+1
using "--force" helped me while installing.
npm i --save material-ui-chip-input@next --force
using "--force" helped me while installing.
npm i --save material-ui-chip-input@next --force
its work for me thanks
Hello ! This package (https://viclafouch.github.io/mui-chips-input/) supports both React 17 / 18 and MUI V5