Forum Discussion

kobaldm's avatar
kobaldm
Helper I
10 years ago

PowerBI Client 2.0 beta testing

In the bower-components folder there is demo folder. 

The Demo should show some new cool features how to interact from js with a report.

 

bower info powerbi-client --verbose

 e.g. 

bower install powerbi-client#2.0.0-beta.8

 

Sadly i get always an error message in app.js line 2

 

2:  var models = window['powerbi-client'].models;

ErrorMeassage: jQuery.Deferred exception: Cannot read property 'models' of undefined TypeError: Cannot read property 'models' of undefined at HTMLDocument.

 

Anyone got it to work ?

 

michael

 

 

6 Replies

  • wabreza's avatar
    wabreza
    Microsoft Employee

    The `dev` branch is currently under active development.  If you are having trouble with bower please try NPM for the time being.

    • kobaldm's avatar
      kobaldm
      Helper I

      Checked out via NPM. Still you need to install via bower in the demo folder. 

      I understand that this is under heavy development. It would be great to be able to test a beta version even at this early stage.

       

      michael

       

      • wabreza's avatar
        wabreza
        Microsoft Employee

        We are releasing to a `beta` tag in NPM.  For bower you can pull by git tag which should match the same NPM versions.