experience-experiments / react-easy-chart

[DEPRECATED] - Easy to use React Charting library
http://experience-experiments.github.io/react-easy-chart
BSD 3-Clause "New" or "Revised" License
142 stars 55 forks source link

package dependencies are broken #110

Closed radjivF closed 6 years ago

radjivF commented 6 years ago

screen shot 2017-11-02 at 6 44 27 pm

admiral-fairbanks-ExtolInc commented 6 years ago

I had the same issue just today. I'm downgrading to d3@^3.5.17 for now in the hopes that this fixes it. image

njwest commented 6 years ago

I was able to get react-easy-charts to run with yarn add d3-scale and react-faux-dom, as these appear to be the two dependencies missing from the latest release

jundialwan commented 6 years ago

It is. When installing, npm warn me to install these dependencies by myself:

Yet, I don't know if I have to install it all or maybe just some of it to just running simple doughnut chart.

mbntex commented 6 years ago

I see the list of missing peer dependencies, with terminal WARNs, but when I try to manually install each the peer dependencies they do not seem to meet the requirements of the module. I have tried an older version of d3, but still no resolution. In the client console, I am getting the category 20 error as well. I will try yarn. I wonder if npm 3 no longer auto-installing peer dependencies is the issue...

njwest commented 6 years ago

I have this issue with Yarn now too, my d3-scale and react-faux-dom fix from last month no longer works.

It seems this package only works with a very specific set of D3, NPM, and React versions...