Kaktana / kaktana-react-lightweight-charts

A simple react wrapper for the tradingview lightweight charts module
MIT License
106 stars 55 forks source link

Unable to install the package with react 17.0.2 #25

Open angad737 opened 3 years ago

angad737 commented 3 years ago

Describe the bug Unable to install the package with react 17.0.2

To Reproduce Please add a Codesandbox link reproducing your issue

  1. create a react app using npm create-react-app someapp
  2. npm install --save kaktana-react-lightweight-charts
  3. Error
    code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR! 
    npm ERR! While resolving: moni-app@0.1.0
    npm ERR! Found: react@17.0.2
    npm ERR! node_modules/react
    npm ERR!   react@"^17.0.2" from the root project
    npm ERR! 
    npm ERR! Could not resolve dependency:
    npm ERR! peer react@"^16.13.1" from kaktana-react-lightweight-charts@2.0.0
    npm ERR! node_modules/kaktana-react-lightweight-charts
    npm ERR!   kaktana-react-lightweight-charts@"2.0.0" from the root project

It seems Kaktana-react-lightweight-charts depends on react version 16.13.1 based on its dependency

Expected behavior Should be able to install and use the react library

Screenshots image

eliotstock commented 2 years ago

Guys, care to bump your react version?