-
Notifications
You must be signed in to change notification settings - Fork 409
Description
Describe the bug
Hi All,
I tried to create new react project and install jsonforms as per https://jsonforms.io/docs/tutorial . During step 2 I am getting following error
npm install --save @jsonforms/core
npm install --save @jsonforms/react
PS C:_test\javascript\react18_jsonforms> npm install --save @jsonforms/react
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@"^18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.12.0 || ^17.0.0" from @jsonforms/[email protected]
npm ERR! node_modules/@jsonforms/react
npm ERR! @jsonforms/react@"*" 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.
Expected behavior
npm install --save @jsonforms/react is expected to be compatible.
Steps to reproduce the issue
- npx create-react-app react18_jsonforms
- npm install --save @jsonforms/core
- npm install --save @jsonforms/react
- See error
Screenshots
No response
In which browser are you experiencing the issue?
Chrome
Framework
React
RendererSet
Material
Additional context
No response