-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Describe the bug
I am getting a dependency error when trying to install JSON forms with material renderers in a project using the latest version of MUI & MUI icons:
npm ERR! Found: @mui/[email protected]
npm ERR! node_modules/@mui/icons-material
npm ERR! @mui/icons-material@"^5.14.18" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @mui/icons-material@"~5.11.16" from @jsonforms/[email protected]
npm ERR! node_modules/@jsonforms/material-renderers
npm ERR! @jsonforms/material-renderers@"*" from the root project
Expected behavior
No dependency conflict
Steps to reproduce the issue
$ npm create vite@latest
$ cd project
$ npm i
$ npm install @mui/material @mui/styled-engine-sc styled-components
$ npm install @mui/icons-material
$ npm i @jsonforms/core @jsonforms/react @jsonforms/material-renderers
Screenshots
No response
In which browser are you experiencing the issue?
Which Version of JSON Forms are you using?
latest
Framework
React
RendererSet
Material
Additional context
I tried to install the packages with --force flag and it seems to work fine.
Link to repo: https://github.com/devbydaniel/jsonforms-mui-deps