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
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.
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.