react-json-schema-form-extras icon indicating copy to clipboard operation
react-json-schema-form-extras copied to clipboard

React 17 and higher error during install react-json-schema-form-extras

Open Nyweron opened this issue 3 years ago • 0 comments

react-json-schema-form-extras will be upgraded for react 17 and higher versions?

>  npm i react-jsonschema-form-extras
...

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!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.x" from [email protected]
npm ERR! node_modules/react-jsonschema-form-extras
npm ERR!   react-jsonschema-form-extras@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

My package.json

"dependencies": {
    "@rjsf/bootstrap-4": "^2.5.1",
    "@rjsf/core": "^2.5.1",
    "@testing-library/jest-dom": "^5.11.4",
    "@testing-library/react": "^11.1.0",
    "@testing-library/user-event": "^12.1.10",
    "bootstrap": "^5.0.1",
    "react": "^17.0.2",
    "react-bootstrap": "^1.6.1",
    "react-dom": "^17.0.2",
    "react-jsonschema-form": "^1.8.1",
    "react-scripts": "4.0.3",
    "web-vitals": "^1.0.1"
  },

Nyweron avatar Jun 14 '21 12:06 Nyweron