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
Sreejith
Advocate I
Advocate I

Unable to work with the PBI Visual template solution from GIT Hub

Hi,

I am trying to create a custom visual. I followed the steps under Getting Started in  "https://github.com/Microsoft/PowerBI-visuals".

When I opened one of the .ts file in the solution from the source folder in my VS IDE, it shows error as below along with various other errors such Cannot find namespace JSCommon,Cannot find name IVisual etc. PBIError.png.

There was no error when I restored all the dependencies using the cmd npm install. But how can I ensure all the dependencies has been added ?

If not added, how can I refer the libs for JSCommon, IVisual?

Again I am gettting error in devTool PBi also, when I copied the code from one of the .ts file to the devTool IDE.

 Update 1:

I removed the forked source folder and started once again from beginning by forking the Git Hu folder again. Then it worked.

 

Any help appreciated.

1 REPLY 1
Sreejith
Advocate I
Advocate I

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.