Comments (10)
@checkraiser what was the solution?
from recharts.
@Ohar: As i remember, we should remove the react dependency from recharts, and use react depdency independently.
from recharts.
Current version support react 0.14.x.
Can you provide error message?
from recharts.
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.
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.
Hi, @checkraiser
please share package.json
, we could be check the problems.
Thank @Cloudo for help!
from recharts.
Thank all. Just my mistake :D. It works fine now.
from recharts.
@checkraiser How do you fix it?
from recharts.
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.
I had the same problem wasted few hrs. after upgrading NODE and NPM it worked. also try using PowerShell
from recharts.
Related Issues (20)
- Dot at the end HOT 3
- End of line HOT 8
- Allow "name" Property on Bar Object to Take In Function Type or Provide Avenue to Set Name Value Elsewhere HOT 15
- dot at the end with animation HOT 2
- ScatterPlot points render problem with animations HOT 2
- `Brush` component ignores passed `startIndex` / `endIndex` params in Charts with `syncId` HOT 4
- Brush for line chart no longer shows anything other than the line components HOT 9
- `ResponsiveContainer` component doesn't have a `width` property, causing uncovered lines of code during tests HOT 4
- Single Points Surrounded By Null Values Do Not Render HOT 4
- Problem with accessibilityLayer in RTL HOT 7
- Wrapper and SVG got continuously style changes HOT 9
- Enable CSS transition for sectors on hover in PieChart with `isAnimationActive` as `true` HOT 3
- Brush component does not work with Styled Components HOT 9
- When 2 objects in the data have 0 value and using label in Pie chart it causes duplicate keys HOT 8
- Trying to figure out proper Typing for a Legend HOT 6
- Trying to figure out proper typing for a custom Shape function being provided to a Bar chart. HOT 7
- two XAxis allowDuplicatedCategory={false}, tooltip didn't show data of second XAxis HOT 1
- Treemap tooltip trigger HOT 3
- ReferenceLine always positioned at 0 if value passed is not a string, console error thrown HOT 23
- The chart shrinks when I apply a larger scale on it's parent container HOT 12
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 recharts.