-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
tailwindlabs/heroicons
#1247Description
Describe the bug
npm i
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @heroicons/[email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"19.0.0-rc-69d4b800-20241021" from the root project
npm error peer react@"^18 || ^19 || ^19.0.0-rc" from @headlessui/[email protected]
npm error node_modules/@headlessui/react
npm error @headlessui/react@"^2.2.0" from the root project
npm error 73 more (@radix-ui/react-accordion, @radix-ui/react-context, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@">= 16" from @heroicons/[email protected]
npm error node_modules/@heroicons/react
npm error @heroicons/react@"^2.1.5" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error peer react@">= 16" from @heroicons/[email protected]
npm error node_modules/@heroicons/react
npm error @heroicons/react@"^2.1.5" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
To Reproduce
Steps to reproduce the behavior:
- Upgrade to React 19
- Try to run
npm i
- See error
Expected behavior
@heroicons/react needs to be updated to support React 19 asap.
Metadata
Metadata
Assignees
Labels
No labels