esnet / react-timeseries-charts

Declarative and modular timeseries charting components for React
http://software.es.net/react-timeseries-charts
Other
859 stars 283 forks source link

Followed Getting started But Getting warnings #421

Open Tahatan opened 4 years ago

Tahatan commented 4 years ago

Hi, I followed the getting started info, but when my project compiles I get loads of warnings and then the 2 "SyntaxError: Function statements require a function name" when it executes.

One of the warnings as an example:

WARNING in ./node_modules/d3-selection/src/selection/select.js 5:45-53 "export 'default' (imported as 'selector') was not found in '../selector' @ ./node_modules/d3-selection/src/selection/select.js @ ./node_modules/d3-selection/src/selection/index.js @ ./node_modules/d3-selection/src/index.js @ ./node_modules/react-timeseries-charts/lib/components/TimeAxis.js @ ./node_modules/react-timeseries-charts/lib/entry.js @ ./src/js/statusGraph.jsx @ ./src/js/app.jsx @ ./src/js/index.jsx @ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server babel-polyfill event-source-polyfill ./src/js/index.jsx

I've obviously gone plenty wrong somewhere, any ideas? Thanks