Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kurisotofa 27 posts 75 karma points
    Aug 20, 2016 @ 08:53
    Kurisotofa
    0

    Working with node.js uaas-cli

    Does anyone has experience with working with UaaS and the Node.js CLI?

    I'm able to install uaas-cli with node.js When I execute "uaas watch", I'm able to enter my credentials.

    However, the feedback I get from the command line is the following :

    [Core ]  Loading scripts
    [Core ]  Connecting to notifications
    [Core ]  Error: Could not retrieve hub proxy object
    Unhandled rejection Could not connect
    
  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Aug 20, 2016 @ 09:30
    Dennis Aaen
    0

    Hi Kurisotofa,

    Have you seen the documentation about working with UaaS and UaaS-Cli?

    If not then you can find it here https://our.umbraco.org/documentation/Umbraco-as-a-Service/Set-Up/Working-With-UaaS-Cli/

    Hope this helps,

    /Dennis

  • Kurisotofa 27 posts 75 karma points
    Aug 20, 2016 @ 09:45
    Kurisotofa
    0

    Hi Dennis,

    Yes I did. That's how I found out about the option to use the Node.js UaaS CLI.

    In the meanwhile, I found out where the error is generated. In "/nodejs/nodemodules/uaascli/node_modules/uaas-core/index.js", line 207 :

    _connection = window.$.connection;
    

    The "_connection" variable is still undefined after this line of code. Which is because "window.$" is undefined at that moment.

    var window = jsdom.jsdom().defaultView;
    

    That's about how far as I got...

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Aug 20, 2016 @ 10:19
    Dennis Aaen
    0

    Hi Kurisotofa,

    Could it be that you are not in the right folder when you are execute the commando?

    /Dennis

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies