Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
paul-maessen
Resolver I
Resolver I

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)

Screenshot 2021-01-08 at 14.01.15.png

 

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:

 

  1.  Why does the powerbi-visuals-api@3.5.1 install every time I start the visual with "pbiviz start"?
  2.  Why do I get this "error"?

Let me know if you need more information.

 

Thanks in advance.

 

Paul

 

 

2 ACCEPTED SOLUTIONS

Hi @v-shex-msft ,

 

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 powerbi-visual-api@3.5.1. 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

 

 

View solution in original post

Hi @v-shex-msft 

 

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

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft 

 

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

Hi @v-shex-msft ,

 

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 powerbi-visual-api@3.5.1. 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

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.