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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power bi custom visual - Blank after cloning from GitHub Repo

Hi All, 

I am trying to clone a GitHub Repo to local VS Code and adding other attributes to the existing project. I followed the following steps:

git:clone https://github.com/microsoft/powerbi-visuals-gantt.git in VS Code(use Gantt as example)

npm install

pbiviz start

 

And there is an error below saying missing a file, I didn't find that file so I deleted the line in pbiviz.json refering to that.

 

After deleting that, I can run pbiviz start with no errors, but the visual stays blank even I put data in that. I wonder which step I did was wrong.

 

Anyone has the idea what happened? I would really appreciate your opinions:)

pbiviz start errorpbiviz start errordeleted the dependencies linedeleted the dependencies lineNo error after deleting that lineNo error after deleting that lineblank visualblank visual

 

1 REPLY 1
Anonymous
Not applicable

Hi, I find some clue, I think it's because the API version of gantt chart is 1.13.0, I tried with other samples like forcegraph with API version(2.3.0) and it worked fine. 

So my question is, does anyone have clue about how to upgrade the API version of existing project? I tried "pbiviz update 2.3.0", but the visual still stays blank.  

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.