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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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