Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Ruben Garcia Tercero
    Uploading OJET application as a serviceAnswered
    Topic posted June 20, 2019 by Ruben Garcia Tercero, tagged Bots 
    32 Views, 4 Comments
    Title:
    Uploading OJET application as a service
    Summary:
    Updating an OJET SPA as a service for Digital Assistant
    Content:

    When uploading an Oracle JET application as a service for a WebView component (as suggested here), Digital Assistant throws the next error:

    unhandledRejection
    build module failed: Unexpected token <
    BUILDER_BUILD_MODULE_ERROR: build module failed: Unexpected token <
        at Builder.buildModuleForService (/usr/src/app/node_modules/hosted_cc_builder/src/builder.js:89:13)
        at <anonymous>
    [object Promise]

    I'm uploading the OJET application just as it has been built for testing, didn't make any change to it. What can be causing this error?

     

    Thanks in advance.

    Best Comment

    Rohit Dhamija

    Hi Ruben,

    This tab is meant for creating services for the custom components to be used by this skill bot.  Probably you are using 19.1.3 instance.

    The feature to create any services for the webview components used by this skill bot  is NOT  available in 19.1.3 release. This feature is coming in next release.

    Thanks,

    Rohit Dhamija

     

    Comment

     

    • Rohit Dhamija

      Hi Ruben,

      It seems you are referring to section 3) Local Web Application. 

      Please note that the local deployment support is not currently available . It will be available in 19.1.5 release.

      B.w Where did you tried uploading the OJET application in ODA?

      Regards,

      Rohit

       

      • Ruben Garcia Tercero

        Hi Rohit, thanks for your answer,

        I tried uploading the OJET application in the services tab, from a .tgz file that I got from compressing the OJET application with the npm pack command (as suggested).

         

    • Rohit Dhamija

      Hi Ruben,

      This tab is meant for creating services for the custom components to be used by this skill bot.  Probably you are using 19.1.3 instance.

      The feature to create any services for the webview components used by this skill bot  is NOT  available in 19.1.3 release. This feature is coming in next release.

      Thanks,

      Rohit Dhamija