This repository was archived by the owner on Nov 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Dependency Issue with NextJS 15, React 19 RC and @tippyjs/react #392
Copy link
Copy link
Open
Description
Description:
I'm encountering a dependency resolution issue while trying to install my project dependencies using NPM. The command I am executing is:
npm install
However, I receive the following error related to the React version and its peer dependencies:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @tippyjs/react@4.2.6
npm error Found: react@19.0.0-rc-02c0e824-20241028
npm error node_modules/react
npm error react@"19.0.0-rc-02c0e824-20241028" from the root project
npm error peer react@"^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" from @radix-ui/react-arrow@1.1.0
npm error node_modules/@radix-ui/react-arrow
npm error @radix-ui/react-arrow@"1.1.0" from @radix-ui/react-popper@1.2.0
npm error node_modules/@radix-ui/react-popper
npm error @radix-ui/react-popper@"1.2.0" from @radix-ui/react-menu@2.1.2
npm error node_modules/@radix-ui/react-menu
npm error @radix-ui/react-menu@"2.1.2" from @radix-ui/react-dropdown-menu@2.1.2
npm error node_modules/@radix-ui/react-dropdown-menu
npm error 1 more (@radix-ui/react-popover)
npm error 31 more (@radix-ui/react-collection, @radix-ui/react-context, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@">=16.8" from @tippyjs/react@4.2.6
npm error node_modules/@tippyjs/react
npm error @tippyjs/react@"^4.2.6" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error peer react@">=16.8" from @tippyjs/react@4.2.6
npm error node_modules/@tippyjs/react
npm error @tippyjs/react@"^4.2.6" from the root project
Environment:
- Node Version: v20.17.0
- NPM Version: v10.8.2
- React Version: 19.0.0-rc-02c0e824-20241028
- Operating System: Ubuntu 22.04
Question:
Is there any plan to upgrade Tippyjs React to React 19 RC ?
Installing using --legacy-peer-deps
is not allowed in my environment.
Metadata
Metadata
Assignees
Labels
No labels