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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
luojiandanPBI
Helper I
Helper I

circlecard after update,can't start...

I create a visual by following step:

Learn how to develop your own Power BI visual using the circle card visual as an example. - Power BI...

and my pbiviz version is:3.1.9

luojiandanPBI_0-1697016326430.png

then,I run two npm install ......

npm install powerbi-visuals-api@latest
npm install powerbi-visuals-utils-dataviewutils@latest

luojiandanPBI_1-1697016476325.png

and I get new version

powerbi-visuals-api version: 5.4.0
powerbi-visuals-utils-dataviewutils version: 6.0.1

 

Then,I run "pbiviz start",and get this: powerbi-visuals-api version change to 2.6.0.

what's the reason?

luojiandanPBI_2-1697016617174.png

luojiandanPBI_3-1697016712419.png

 

finally,I run 'pbiviz start' again,and get this:

luojiandanPBI_4-1697016779034.png

 

what should I do?

Thanks:)

@Anonymous 

 

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @luojiandanPBI,

 

The API version is governed by what's in your pbiviz.json file, e.g.:

{
  ...
  "apiVersion": "5.3.0",
  ...
}

When you run pbiviz start, the tools look at the version you're specifying in that file and then executes an npm i command for the appropriate version of powerbi-visuals-api. Therefore installing it manually will only keep it current in your package.json until this process overwites it.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

6 REPLIES 6
dm-p
Super User
Super User

Hi @luojiandanPBI,

 

The API version is governed by what's in your pbiviz.json file, e.g.:

{
  ...
  "apiVersion": "5.3.0",
  ...
}

When you run pbiviz start, the tools look at the version you're specifying in that file and then executes an npm i command for the appropriate version of powerbi-visuals-api. Therefore installing it manually will only keep it current in your package.json until this process overwites it.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




@dm-p 

hi,Daniel,you are right,thanks for you help...🤝

but nothing happen in Developer Visual.

luojiandanbi_0-1697119440975.png

here is version:

luojiandanbi_1-1697119500738.png

I do nothing except update "powerbi-visuals-api" and "powerbi-visuals-utils-dataviewutils" version after create new visual by "pbiviz new circleCard".

can you give me your hands.

I change to old version

npm install powerbi-visuals-api@2.6.1
npm install powerbi-visuals-utils-dataviewutils@2.2.1

luojiandanPBI_0-1697183202083.png

then "pbiviz start",get error:

luojiandanPBI_1-1697183394695.png

 

can you help me?

Thanks:)

 

 

If you have downgraded your API, check if your capabilities.json has a privileges array. This should not be present in versions prior to 4.6 and is the most likely cause of the error. If so, you will need to remove it and then re-run pbiviz start.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Hi,Daniel,thanks for your reply,remove privileges array is ok when downgraded API.

 

but when upgraded API,nothing happen.

luojiandanPBI_0-1697194341992.png

constructor function not excuted.

luojiandanPBI_1-1697194372152.png

what's wrong with this?

thanks again.

 

luojiandanPBI
Helper I
Helper I

"powerbi-visuals-api": "~2.6.1",
"powerbi-visuals-utils-dataviewutils": "2.2.1"   is ok.

luojiandanPBI_0-1697017775664.png

I want to update to latest version,and got error.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors