I found out that this error occurs when you do an NPM install of canvas js and try to reference it from the “node_modules” folder. Download canvasjs.min.js to your assets folder and reference it from there. This will resolve the issue. Took me a while to figure this one out.
Jason