cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adeepak7 Frequent Visitor
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

Accepted Solutions
Moderator v-viig
Moderator

Re: LOAD ERROR TypeError: Cannot read property 'guid' of undefined.

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

 

 

2 REPLIES 2
Moderator v-viig
Moderator

Re: LOAD ERROR TypeError: Cannot read property 'guid' of undefined.

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

 

 

adeepak7 Frequent Visitor
Frequent Visitor

Re: LOAD ERROR TypeError: Cannot read property 'guid' of undefined.

Thanks Ignat. It worked!