Forum Discussion
problem tooltip
- 4 years ago
Hi Anonymous,
Run the following for your plugin's root folder:
npm i regenerator-runtime --save-devAnd then add the following at the top of your visual.ts, underneath import 'core-js/stable'; and before import '../style/visual.less';, e.g.:
... import 'core-js/stable'; import 'regenerator-runtime/runtime'; /* Right here */ import '../style/visual.less'; ...If you re-run pbiviz start and re-check your visual, this error will go away as the necessary runtime is included in your build. Then, in the true spirit of coding it's onto the next error (but hopefully not) 🙂
Good luck!
Daniel
Hi Anonymous,
Run the following for your plugin's root folder:
npm i regenerator-runtime --save-dev
And then add the following at the top of your visual.ts, underneath import 'core-js/stable'; and before import '../style/visual.less';, e.g.:
...
import 'core-js/stable';
import 'regenerator-runtime/runtime'; /* Right here */
import '../style/visual.less';
...
If you re-run pbiviz start and re-check your visual, this error will go away as the necessary runtime is included in your build. Then, in the true spirit of coding it's onto the next error (but hopefully not) 🙂
Good luck!
Daniel
- Anonymous4 years agoNot applicable
It works ! Thanks a lot ! (I have another error now but i'm trying to fix it).