Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with React 17 #1450

Closed
rap2hpoutre opened this issue Mar 15, 2021 · 3 comments
Closed

Can't install with React 17 #1450

rap2hpoutre opened this issue Mar 15, 2021 · 3 comments

Comments

@rap2hpoutre
Copy link

I just tried to install it and get this message:

npm i @nivo/core

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   peer react@"^16.9.0 || ^17" from @next/react-dev-overlay@10.0.8
npm ERR!   node_modules/@next/react-dev-overlay
npm ERR!     @next/react-dev-overlay@"10.0.8" from next@10.0.8
npm ERR!     node_modules/next
npm ERR!       next@"10.0.8" from the root project
npm ERR!   peer react@"^16.6.0 || ^17" from next@10.0.8
npm ERR!   node_modules/next
npm ERR!     next@"10.0.8" from the root project
npm ERR!   6 more (react-dom, styled-jsx, swr, use-subscription, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^0.14.0 || ^15.0.0 || ^16.0.0" from recompose@0.30.0
npm ERR! node_modules/@nivo/core/node_modules/recompose
npm ERR!   recompose@"^0.30.0" from @nivo/core@0.67.0
npm ERR!   node_modules/@nivo/core
npm ERR!     @nivo/core@"*" from the root project
npm ERR!     1 more (@nivo/tooltip)
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.
npm ERR!
npm ERR! See /Users/raph/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/raph/.npm/_logs/2021-03-15T08_47_12_930Z-debug.log

It seems it's due to recompose that is abandoned: https://github.com/acdlite/recompose#a-note-from-the-author-acdlite-oct-25-2018

@maldan
Copy link

maldan commented Apr 18, 2021

Same

1 similar comment
@marcelojrfarias
Copy link

Same

@wyze
Copy link
Contributor

wyze commented Apr 23, 2021

We are tracking the progress of removing recompose in #884. Going to close this since it shares the same root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants