-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
chakra-ui
Version
5.x
Current Behavior
npm i @rjsf/chakra-ui
with @chakra-ui/react v2.8.2 gives an error
npm error While resolving: [email protected]
npm error Found: @chakra-ui/[email protected]
npm error node_modules/@chakra-ui/react
npm error @chakra-ui/react@"^2.8.2" from the root project
npm error peer @chakra-ui/react@">=1.7.3 <3.0.0" from @rjsf/[email protected]
npm error node_modules/@rjsf/chakra-ui
npm error @rjsf/chakra-ui@"" from the root project
npm error 1 more (@chakra-ui/icons)
npm error
npm error Could not resolve dependency:
npm error peer @chakra-ui/react@"3.x" from [email protected]
npm error node_modules/chakra-react-select
npm error peer chakra-react-select@">=3.3.8" from @rjsf/[email protected]
npm error node_modules/@rjsf/chakra-ui
npm error @rjsf/chakra-ui@"" from the root project
Expected Behavior
npm i @rjsf/chakra-ui
succeeds
Steps To Reproduce
No response
Environment
- OS:
- Node:
- npm:
Anything else?
@rjsf/chakra-ui has peer dependencies
- "@chakra-ui/react": ">=1.7.3 <3.0.0"
- "chakra-react-select": ">=3.3.8"
but recently-released chakra-react-select v6.1.0 has peer
- "@chakra-ui/react": "3.x"
Should add an upper bound of <6.0.0 to the chakra-react-select peerDependency