Giter Club home page Giter Club logo

Comments (10)

simplenotezy avatar simplenotezy commented on May 21, 2024 2

@checkraiser what was the solution?

from recharts.

revskill10 avatar revskill10 commented on May 21, 2024 2

@Ohar: As i remember, we should remove the react dependency from recharts, and use react depdency independently.

from recharts.

Cloudo avatar Cloudo commented on May 21, 2024

Current version support react 0.14.x.
Can you provide error message?

from recharts.

revskill10 avatar revskill10 commented on May 21, 2024

My error is:

├── UNMET PEER DEPENDENCY react@^0.14.0
├── UNMET PEER DEPENDENCY react-dom@^0.14.0
└─┬ [email protected]
  ├── UNMET PEER DEPENDENCY react@^0.14.0
  └── UNMET PEER DEPENDENCY react-dom@^0.14.0
npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.0 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.7 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.7 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.0 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react-dom@^0.14.0 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.0 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of react-dom@^0.14.0 but none was installed.

from recharts.

Cloudo avatar Cloudo commented on May 21, 2024

It seems like you specify exact version of react or react-aadons-*:
"react": "0.14.3",
"react-dom": "0.14.3"

Try to add caret like so
"react": "^0.14.3",
"react-dom": "^0.14.3"

If not, please share your dependencies sections of package.json

from recharts.

arcthur avatar arcthur commented on May 21, 2024

Hi, @checkraiser
please share package.json, we could be check the problems.

Thank @Cloudo for help!

from recharts.

revskill10 avatar revskill10 commented on May 21, 2024

Thank all. Just my mistake :D. It works fine now.

from recharts.

Ohar avatar Ohar commented on May 21, 2024

@checkraiser How do you fix it?

from recharts.

mohitsharma01 avatar mohitsharma01 commented on May 21, 2024

I resolved this issue saying requires a peer of react@>=0.14.0 but none was installed. by uninstalling the react and react-dom and then locally install the [email protected] and [email protected]..
after this, I was able to install my module which had react@>=0.14.0 added as "peerDependencies": {
"react": ">=0.14.0"
},.
I uninstalled and installed the react with the latest version again, It worked for me.

from recharts.

edwin-alvarez avatar edwin-alvarez commented on May 21, 2024

I had the same problem wasted few hrs. after upgrading NODE and NPM it worked. also try using PowerShell

from recharts.

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.