Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I create a visual by following step:
and my pbiviz version is:3.1.9
then,I run two npm install ......
npm install powerbi-visuals-api@latest
npm install powerbi-visuals-utils-dataviewutils@latest
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?
finally,I run 'pbiviz start' again,and get this:
what should I do?
Thanks:)
@Anonymous
Solved! Go to Solution.
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
hi,Daniel,you are right,thanks for you help...🤝
but nothing happen in Developer Visual.
here is version:
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
then "pbiviz start",get error:
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.
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.
constructor function not excuted.
what's wrong with this?
thanks again.
I want to update to latest version,and got error.
User | Count |
---|---|
8 | |
2 | |
2 | |
1 | |
1 |