Forum Discussion
circlecard after update,can't start...
- 2 years ago
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
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
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.
- luojiandanPBI2 years agoHelper I
I change to old version
npm install [email protected] npm install [email protected]then "pbiviz start",get error:
can you help me?
Thanks:)
- dm-p2 years agoSuper User
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.
- luojiandanPBI2 years agoHelper I
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.