Forum Discussion
LOAD ERROR TypeError: Cannot read property 'guid' of undefined.
Respected admin,
I am trying to execute the code for table visual from github repo with url: https://github.com/Microsoft/PowerBI-visuals-tools/tree/master/templates/visuals/table
I am getting the following error:
error LOAD ERROR TypeError: Cannot read property 'guid' of undefined
at VisualPackage.loadVisualPackage.then (/usr/local/lib/node_modules/powerbi-visuals-tools/bin/pbiviz-start.js:57:48)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Kindly help me out to resolve this error.
Thanks,
Deepak Ahire
Could not reproduce this issue with PBIVIZ 2.1.0.
How did you create a visual from this template? Did you use pbiviz new -t table?
Please note you should also add node_modules/powerbi-visuals-utils-dataviewutils/lib/index.js into pbiviz.json once you create a visual from template.
We'll fix this template soon.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
2 Replies
- v-viig
Community Champion
Could not reproduce this issue with PBIVIZ 2.1.0.
How did you create a visual from this template? Did you use pbiviz new -t table?
Please note you should also add node_modules/powerbi-visuals-utils-dataviewutils/lib/index.js into pbiviz.json once you create a visual from template.
We'll fix this template soon.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- adeepak7Frequent Visitor
Thanks Ignat. It worked!