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

Can't resolve 'd3-scale #108

Closed radjivF closed 6 years ago

radjivF commented 6 years ago

Hi, I have installed your package butI receive this error messages.

./node_modules/react-easy-chart/lib/shared.js
Module not found: Can't resolve 'd3-scale' in '/node_modules/react-easy-chart/lib'

any ideas?

Cheers

njwest commented 6 years ago

I am also having this issue, after yarn installing react-easy-chart and implementing a simple Linechart component: import { LineChart } from 'react-easy-chart'; ... render(){ return( <LineChart data={[ [ { x: 1, y: 20 }, { x: 2, y: 10 }, { x: 3, y: 25 } ] ]} /> ) }

njwest commented 6 years ago

Was able to fix this problem by yarn adding d3-scale and react-faux-dom

radjivF commented 6 years ago

work for me too thanks

harunhasdal commented 6 years ago

Fixed in 1.0.0