Latest post Wed, Jun 6 2018 1:14 PM by jkalbfleisch. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • Thu, May 17 2018 6:20 PM

    Cannot find module 'object-merge'

    There seems to be a problem finding modules in the static-example

    "npm install" installs a bunch of stuff. and seems to work fine.

    -------------------------------------------------------------------------------------------------------------

    C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\examples\static-plugin-example>npm --version
    5.1.0

    C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\examples\static-plugin-example>gulp --version
    [14:16:09] CLI version 3.9.1
    [14:16:09] Local version 3.9.1

    ------------------------------------------------------------------------------------------------------------

    but gulp webpack fails. It workls if I comment out the line

    require('avid-mcux-page-objects').launchTest(gulp);

    from my gulpfile.js file

    So its definitly having trouble loading avid stuff.

     

    Also both commands work fine for me if I load the other example "minimalistic-plugin-example" which I think points to something in the avid libraries?


    C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\examples\static-plugin-example>gulp webpack
    module.js:472
        throw err;
        ^

    Error: Cannot find module 'object-merge'
        at Function.Module._resolveFilename (module.js:470:15)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\avid-modules\avid-mcux-mocha-docker-wrapper\lib\index.js:7:21)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\avid-modules\avid-mcux-page-objects\src\gulp-tasks\test.js:9:16)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)

    C:\JEFFS_STUFF\CloudUXExample\MediaCentral_UI_Toolkit_v2.6-2.8\examples\static-plugin-example>

  • Thu, May 17 2018 7:33 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 208
    • Points 2,565
    • Avid Developer Moderator
      Avid Employee

    Re: Cannot find module 'object-merge'

  • Fri, May 18 2018 7:12 PM In reply to

    Re: Cannot find module 'object-merge'

    When I get to the point that I am loading my app locally for testing I seem to be missing the Panes Menu refered to in the developer welcome pages? it seems like it should be a menu icon in the upper right corner beside the user profile icon.

     

  • Mon, May 21 2018 10:13 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 208
    • Points 2,565
    • Avid Developer Moderator
      Avid Employee

    Re: Cannot find module 'object-merge'

    Could you please post a screenshot of the reference you're talking about and the page you see? It may be that we need to update that welcome page.

     

    Thanks

  • Wed, May 23 2018 1:09 PM In reply to

    Re: Cannot find module 'object-merge'

    It's the smily face icon. It seems like I have to build and copy the app to the cloudUX server before it will show. If I follow the section of the docs that is about starting in VSCode and connecting to local host that icon was not showing. But Once I copied it to the avid folder /opt/avid/share/nginx/nux/plugins (Also not listed on that page, I had to do a find on the server for *.js) the icon showed up. But it seems like from the docs that when I run it locally and connect to https://localhost:8080 it should show. (Note that it shows here in this image because I have the app loaded to the plugins folder.)

  • Wed, Jun 6 2018 12:39 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 208
    • Points 2,565
    • Avid Developer Moderator
      Avid Employee

    Re: Cannot find module 'object-merge'

    Hi Jeff,

    Could you please check the version of MediaCentral you're using? The toolkits I've referenced require 2018.x versions.

  • Wed, Jun 6 2018 12:43 PM In reply to

    Re: Cannot find module 'object-merge'

  • Wed, Jun 6 2018 1:10 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 208
    • Points 2,565
    • Avid Developer Moderator
      Avid Employee

    Re: Cannot find module 'object-merge'

    You should be able to obtain the image of 2018 one through your alliance contact point then.

    Could you also point me to the welcome pages reference above please? We will need to include version information in there.

  • Wed, Jun 6 2018 1:14 PM In reply to

    Re: Cannot find module 'object-merge'

    http://developer.avid.com/mcux_ui_plugin/introduction/doc/development_guide.html

Page 1 of 1 (9 items)

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