GithubHelp home page GithubHelp logo

Comments (7)

hsafari avatar hsafari commented on June 2, 2024 1

Thank you dcnc336. I'll try to do the same as you said.

from react-stockcharts.

gnaneshwar718 avatar gnaneshwar718 commented on June 2, 2024

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.

hsafari avatar hsafari commented on June 2, 2024

Thank you very much Ganeshwar.

from react-stockcharts.

gnaneshwar718 avatar gnaneshwar718 commented on June 2, 2024

there was no problem, the react scrips version is outdated you can fix it by running
npm install [email protected]

from react-stockcharts.

hsafari avatar hsafari commented on June 2, 2024

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.

gnaneshwar718 avatar gnaneshwar718 commented on June 2, 2024

I will check it out once

from react-stockcharts.

dcnc336 avatar dcnc336 commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.