Forum Discussion

adeepak7's avatar
adeepak7
Frequent Visitor
7 years ago
Solved

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

    [email protected]

     

     

2 Replies

  • v-viig's avatar
    v-viig
    Icon for Community Champion rankCommunity 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

    [email protected]