Hello,
in my project I am using react 17.0.2.
Just switched to node 16 lts (16.13.0) which uses npm 8.1.0.
This led me to an "incompatible peer dependencies" error since new npm versions auto install and check peer dependency compatibility.
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from react-multi-form@1.0.5
npm ERR! node_modules/react-multi-form
npm ERR! react-multi-form@"^1.0.5" from the root project
Please update peer dependecies to support react v17.x.
"peerDependencies": {
"react": "^16.0.0"
},
Thank you
Hello,
in my project I am using react 17.0.2.
Just switched to node 16 lts (16.13.0) which uses npm 8.1.0.
This led me to an "incompatible peer dependencies" error since new npm versions auto install and check peer dependency compatibility.
Please update peer dependecies to support react v17.x.
Thank you