Latest post Mon, Aug 16 2021 2:05 PM by Vadym. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Fri, Jun 25 2021 12:40 PM

    cloudux-starter-kit bug

    Since about a week we have been experiencing difficulties when running cloudUX locally through the cloudux-starter-kit package.

    The problem is that after building and serving cloudUX by running npm start  in the command-line, it will show a command-line error a couple seconds after we open cloudUX in our browser. The error is the following: 

     

     

    TypeError: Cannot read property '0' of undefined

        at C:\dev\services\mediacentral-cloud-ux\node_modules\cloudux-starter-kit\lib\connector\config\webpackDevServer.config.js:121:51

     

    When checking the webpackDevServer config at line 121, it seems that manager is undefined in data.config.app[0].manager[0].$.port when trying to get the player config from /icps/player/ICPS.html5.conf.

     

    This is the full config response we are getting:

     

    <config>

            <app>

                   <keyboard enabled="false" />

            </app>

            <deck>

                   <ui>

                           <style type="CHROMELESS" background_color="000000" />

                           <aspect_ratio always_fill="true"/>

                           <varispeed enabled="false" autostart="false" />

                           <quality_list>

                                   <quality key="playback.quality.low" value="40"/>

                                   <quality key="playback.quality.medium" value="60"/>

                                   <quality key="playback.quality.high" value="80"/>

                           </quality_list>

                   </ui>

     

                   <default_volume value="100" />

                   <editing tail_frame="true" />

                   <loop_playback enabled="false" />

                   <playback one_to_one="false" />

                   <playback_frames>

                           <video quality="80" />

          <audio sample_data_size="4096" />

                   </playback_frames>

            </deck>

     

    </config>

     

     

    Does anyone know if anything has changed in the response?

    Any possible solutions for this problem?

     

    Thanks!

     

     

    Filed under:
  • Mon, Aug 16 2021 2:05 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 262
    • Points 3,110
    • ! Avid Employee
      Avid Developer Moderator

    Re: cloudux-starter-kit bug

    Hi Floris,

    Can you show connection section of the project.config.json for your app please?

    Also check that you're using the latest version of the starter kit as some compatibility issues have been addressed already https://www.npmjs.com/package/cloudux-starter-kit current version is 2.1.9

    Thanks,

    Vadym

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller