esnet / esnet/react-timeseries-charts

Followed Getting started But Getting warnings

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
876
Forks
279
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the getting started instructions and the webpack compilation trace, following the path from src/js/statusGraph.jsx through src/js/app.jsx and src/js/index.jsx into react-timeseries-charts/lib/components/TimeAxis.js. Compare the reported d3-selection warning and runtime SyntaxErrors with the project's dependency and build versions; done requires identifying the configuration or dependency mismatch and confirming that compilation and execution complete without these warnings and errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript, react, webpack
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.