Comments (7)
Thank you dcnc336. I'll try to do the same as you said.
from react-stockcharts.
hi i will fix this error ,so anyone who comes this across later
i am already working on it
i will send pr when it is done
from react-stockcharts.
Thank you very much Ganeshwar.
from react-stockcharts.
there was no problem, the react scrips version is outdated you can fix it by running
npm install [email protected]
from react-stockcharts.
It seems too complected for me. multiple errors again. I tried to remove/uninstall all but slit the same error. I wish the package had a complete dependency/steps document for installation that everyone can check one by one and then run the react-stock-chart.
..:~$ npm install [email protected]
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"16.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^18.2.0" from [email protected]
npm WARN node_modules/react-dom
npm WARN react-dom@"^18.2.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"16.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^15.0.0" from [email protected]
npm WARN node_modules/react-stockcharts
npm WARN react-stockcharts@"^0.6.1" from the root project
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-dom
npm ERR! react-dom@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-dom@"^15.0.0" from [email protected]
npm ERR! node_modules/react-stockcharts
npm ERR! react-stockcharts@"^0.6.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@"^15.0.0" from [email protected]
npm ERR! node_modules/react-stockcharts
npm ERR! react-stockcharts@"^0.6.1" 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!
from react-stockcharts.
I will check it out once
from react-stockcharts.
There was same issues for me
I think react-stockcharts library isn't enable for over react version +17
Please downgrade react version with 16
Here is way to downgrade from 18 to 16
update react libraries version with 16
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-scripts": "5.0.1",
"@testing-library/react": "^12.0.0",
delete node_modules folder and run npm install
and can install react-stockcharts library, it worked for me
from react-stockcharts.
Related Issues (20)
- Error: Cannot find module 'D:\charts\node_modules\@react-financial-charts\annotations\lib\Annotate' imported from D:\charts\node_modules\@react-financial-charts\annotations\lib\index.js HOT 5
- How can I display an indicator using datafeed api.. (for example - Open Interest)
- how to load every time next 3 months data when we reach to the last candle on drag
- How to change displayed format for X axis? HOT 1
- Is it possible to set x Axis to certain date? HOT 2
- What stock charting lib are you using in 2022? HOT 2
- Is it possible to use grouped and stacked bar in one chart HOT 1
- compatibility with next.js -- a lot of warnings and errors HOT 3
- Drawing data-based trendlines on a Candlestick Chart HOT 1
- Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. HOT 3
- Conflict with react^18 HOT 6
- How to add second yAxis? Didn't find anything across docs and internet
- How to show equal interval of ticks with equal spacing in between ticks in x-axis?
- Panning issue in a multi series chart HOT 2
- How to create kdj in chart? HOT 1
- InteractiveYCordinates disappears on mouse enter and mouse click events
- npm ERR! peer react@"^15.0.0 || ^16.0.0" from [email protected] HOT 1
- Plotting Live Candle in seconds and adding it to data after 1 minute
- Loads more data without losing the current viewport
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-stockcharts.