IBMStreams / streamsx.waterConservation.starterKit

Starter kit for smart and connected sprinkler system using Apache Edgent, Streaming Analytics and Insights for Weather
Apache License 2.0
7 stars 10 forks source link

Web app hosted locally or on bluemix does not load #16

Closed natashadsilva closed 5 years ago

natashadsilva commented 7 years ago

Followed the instructions in the readme to deploy locally. My web page loads at localhost:3000 but I have a blank page with JS error TypeError: Super expression must either be null or a function, not undefined in the console.

Running at https://streamsxwaterconservationstarterkit-20170919180133191.mybluemix.net with the same error. Tried to debug it but it seems to be a very generic error message so I have not found an answer. Seems to be a React issue.

natashadsilva commented 7 years ago

https://github.com/borisyankov/react-sparklines/issues/89 Known issue in react sparklines library. Not sure when a fix will be released. Temporary fix is to revert to version 1.6, edit line 37 of package.json: change to react-sparklines": "1.6.0", from "react-sparklines": "^1.5.0",