Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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@latestand 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.1then "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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.