Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

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


I am trying to create a custom visual. I followed the steps under Getting Started in  "".

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.

Frequent Visitor


Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors