Forum Discussion
Error when running pbiviz start-command after installing powerbi-visuals-api v.3.5.1
Hi,
I am doing some tests with the latest version of the powerbi-visuals-api, version 3.5.1.
I updated my packages also running "npm update"
So far so good.
However when I start the custom visual using the command "pbiviz start"
I do get an error (white letters, red background) without further information (see attached screenshot)
After this error the visual is compiled without any errors and I still can use it. I am just wondering what this error-message means.
In fact I have two questions:
- Why does the [email protected] install every time I start the visual with "pbiviz start"?
- Why do I get this "error"?
Let me know if you need more information.
Thanks in advance.
Paul
Hi Anonymous ,
I am using my development environment for more than a year now and got this problem when I created a new visual and started using the [email protected]. When using version 3.2.0 or 3.4.0 this error does not occur!
I updated the powerbi-visual-api from version 3.2.0 to 3.5.1 for this particular visual using the command "npm update"
After the update the setting in the package.json for the api is changed to
"powerbi-visuals-api": "^3.5.1",Regards,
Paul Maessen
Hi Anonymous
I did run the command "npm update -g powerbi-visuals-tools" on my development environment and that did solve this issue!
Thanks for guiding me to development environment.
Regards
Paul
3 Replies
- AnonymousNot applicable
Hi paul-maessen,
Have you correctly configure and install the prerequisite environment of custom visual development?
According to your discretion, it seems like 'power bi visual api' not recognized or installed correctly on your device.Set up your environment for developing a Power BI visual
Regards,Xiaoxin Sheng
- paul-maessenResolver I
Hi Anonymous ,
I am using my development environment for more than a year now and got this problem when I created a new visual and started using the [email protected]. When using version 3.2.0 or 3.4.0 this error does not occur!
I updated the powerbi-visual-api from version 3.2.0 to 3.5.1 for this particular visual using the command "npm update"
After the update the setting in the package.json for the api is changed to
"powerbi-visuals-api": "^3.5.1",Regards,
Paul Maessen
- paul-maessenResolver I
Hi Anonymous
I did run the command "npm update -g powerbi-visuals-tools" on my development environment and that did solve this issue!
Thanks for guiding me to development environment.
Regards
Paul