You must be logged in to post your query.
Home › Forums › Chart Support › vuejs. ‘Chart’ is not exported by ‘src/assets/canvasjs.min.js’
Tagged: VueJS
I am trying to test the vuejs-canvasjs-chart-samples in the lastest Vue version. If I try npm run dev, the example works right locally in my PC. But if I try npm run build it throws the following error: ‘Error when using sourcemap for reporting an error: Can’t resolve original location of error. ‘Chart’ is not exported by ‘src/assets/canvasjs.min.js’
npm run dev
npm run build
If I upload the dist folder in the server, the site doesn’t works, console throws: Error: Cannot read properties of undefined (reading 'Chart')`
Error: Cannot read properties of undefined (reading 'Chart')
Any suggestion?
@rr4v,
Thanks for bringing this issue to our notice. We will look into this & fix it soon.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register