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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sreejith
Frequent Visitor

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
Frequent Visitor

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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