Forum Discussion

georgiosan's avatar
georgiosan
New Member
5 years ago

Pbiviz Start - Cannot read property 'version' of null

Good evening,

I am trying to  find out more about creating custom visuals and I have been following all the information about it, leading up to launching 'pbiviz start' in cmd. The directory I am in is my new project one and I receive the following errors:

 

info Installing API: ~2.6.0...
error npm install powerbi-visuals-api@~2.6.0 failed
error Cannot read property 'version' of null

 

Would you know any workaround for it? 

 

2 Replies

  • Hi georgiosan 

     

    Did you run "npm install" before starting "pbiviz start"?

    Can you show us the content of the files "pbiviz.json" and "package.json"

     

    Thanks

     

    Paul

     

  • Hello paul-maessen ,

     

    I indeed did, however I decided fiddling around before going to the .json files. Tried installing Node.js 14.15.4 instead of 15.7.0, followed all the installation steps for npm and the certificate and now it works. Thank you for getting back to me!