Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
adeepak7
Frequent Visitor

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

1 ACCEPTED SOLUTION
v-viig
Community Champion
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

pbicvsupport@microsoft.com

 

 

View solution in original post

2 REPLIES 2
v-viig
Community Champion
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

pbicvsupport@microsoft.com

 

 

Thanks Ignat. It worked!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.