Forum Discussion

paul-maessen's avatar
paul-maessen
Resolver I
5 years ago
Solved

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:

 

  1.  Why does the [email protected] 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

 

 

  • 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

    • paul-maessen's avatar
      paul-maessen
      Resolver 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-maessen's avatar
      paul-maessen
      Resolver 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