okonet/react-scroll-sync

Incorrect peer dependency for react 17+

joaogardenberg opened this issue · 2 comments

Upon running npm install on my project:

npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.5.4 || ^16.0.0" from react-scroll@1.8.1
npm ERR! node_modules/react-scroll
npm ERR!   react-scroll@"^1.8.1" from the root project

Yes peer does needs to be updated. Feel free to submit a PR to fix that!

npm ERR! Found: react@17.0.1

npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.5.4 || ^16.0.0" from react-scroll@1.8.1
npm ERR! node_modules/react-scroll
npm ERR! react-scroll@"*" from the root project

couldn't find the solution can you kindly help me with this