KaterinaLupacheva/react-progress-bar

Support React 17

Closed this issue · 0 comments

npm ERR! Found: react@17.0.2
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@"^16.0.0" from @ramonak/react-progress-bar@3.0.0
npm ERR! node_modules/@ramonak/react-progress-bar
npm ERR!   @ramonak/react-progress-bar@"*" from the root project

I think all you have to do is update the peerDependencies to allow react 17 in addition to 16.

I also noticed you are using the react 17 type definitions in your dev dependencies with the react 16 peer dependency