Home forums Using CanvasJS CanvasJS with Electron/Node.js Reply To: CanvasJS with Electron/Node.js

#21257

DanielSore
Member

Solved!

Since Electron doesn’t support ES6 syntaxes, I used babel to convert from ES6 to CommonJS.

Anyway, there is a error on npm module in the following file:

node_modules/canvasjs/src/charts/index.js

The “export” syntaxes must be changed to “import”.

Best regards