Skip to content

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

Description

@Nyweron

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: myProjName@0.1.0
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.x" from react-jsonschema-form-extras@0.9.67
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"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions