Forum Discussion
Cannot be displayed using "mathjs"
Hi
Please forgive me for asking so many questions in this borad.
I am making visual for custom visual .
so cannot be displayed using "mathjs"
https://www.npmjs.com/package/mathjs
maybe cannot load webpack but I don't have no idea...
--- below is details ---
// code---import is
// code---inside update method
// error details is below (from chrome dev tools)---
Failed to load resource: the server responded with a status of 404 ()
VM1480:152295 Uncaught ReferenceError: regeneratorRuntime is not defined
VM1480:152295 Uncaught ReferenceError: regeneratorRuntime is not defined
at createDenseMatrixClass.isClass (<anonymous>:152295:57)
at assertAndCreate (<anonymous>:164948:12)
at Object.21684 (<anonymous>:122519:116)
at __webpack_require__ (<anonymous>:202061:42)
at Object.33065 (<anonymous>:1077:66)
at __webpack_require__ (<anonymous>:202061:42)
at <anonymous>:202141:69
at <anonymous>:202168:3
at <anonymous>:202171:12
at Object.i [as injectJsCode] (customVisualsHost.bundle.min.js:23)
sorry, If anyone knows, please let me know.
thank you so much.
2 Replies
- AnonymousNot applicable
Hi Anonymous
This issue may be caused due to your tool couldn't find your js file.
Try to use absolute path of your "mathjs" file.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Thank you so much for reply!
I tryed to use absolute path but it is not good for share visual.
I asked pbiviz support,he said
"You need to install regenerator-runtime - npm (npmjs.com) package and import it in the visual."I install and import then I can use "mathjs"
thank you