I had this issue when I was using the node.js framework. Taking out the script tags containing the morris charts and the jquery from the bottom of the html file worked for me. I am using Require.js to load the dependencies for my project instead. I hope this helped.
Try This
if don' t use the chart on this page, you can do this:
change it like this: before:
JavaScript's code gets executed before the DOM contains #annual element. Put the javascript after the div or use jQuery.ready()
Solution: Put the javascript after the morris.js div
From this post from tiraeth: https://github.com/morrisjs/morris.js/issues/137
I had this issue when I was using the node.js framework. Taking out the script tags containing the morris charts and the jquery from the bottom of the html file worked for me. I am using Require.js to load the dependencies for my project instead. I hope this helped.