Kaktana / kaktana-react-lightweight-charts

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

This library has a conflict with React 18 #32

Closed lukahukur closed 2 years ago

lukahukur commented 2 years ago
npm install --save kaktana-react-lightweight-charts
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: c_c@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" 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@"*" from the root project
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! A complete log of this run can be found in:
npm ERR!     dir: 2022-07-18T16_06_40_243Z-debug.log