reactjs / react-chartjs

common react charting components using chart.js
MIT License
2.93k stars 301 forks source link

Error when using webpack-dev-server with indication url #39

Closed dennisjac closed 8 years ago

dennisjac commented 9 years ago

I've run into a problem when using react-chartjs in the context of webpack-dev-server but only when using the indication url. When I use the url "http://localhost:8080/" to connect to the dev-server the doughnut I'm trying to render works fine but if I use "http://localhost:8080/webpack-dev-server/" the page itself renders fine but there is only empty space where the doughnut should be and in the console I see the following error: "TypeError: document.defaultView.getComputedStyle(...) is null". Any ideas what is going on?

joshhornby commented 8 years ago

Is this still an issue? Seems like a webpack issue more than react-chartjs.