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!
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
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller