Copied to clipboard

Flag this post as spam?

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


  • Gavin Faux 15 posts 158 karma points
    Dec 14, 2016 @ 16:08
    Gavin Faux
    0

    uaas-cli supported OS / environments

    Are there any specific requirements for OS / node versions to use uaas-cli?

    Front end developers having an issue on macOS Sierra 10.12.2 where cli tool outputs following error when trying uaas watch:

    fs.writeFile(configFile, JSON.stringify(config), (err) => {
                                                           ^^
    SyntaxError: Unexpected token =>
      at exports.runInThisContext (vm.js:73:16)
      at Module._compile (module.js:443:25)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Function.Module.runMain (module.js:501:10)
      at startup (node.js:129:16)
    

    Going to try own mac bit later but it's not latest OS, will report back but any pointers meantime helpful.

  • Gavin Faux 15 posts 158 karma points
    Dec 15, 2016 @ 16:55
    Gavin Faux
    0

    Works on my machine:

    • OS X El Capitan 10.11.6
    • XCode
    • homebrew
      • node 6.3.1
        • npm 3.10.3

    Trying upgrade to Sierra next

  • Gavin Faux 15 posts 158 karma points
    Dec 28, 2016 @ 17:17
    Gavin Faux
    100

    On Sierra 10.12.2 without homebrew or 4GB+ XCode download:

    Latest node installed via nvm; no sudo

    e.g.

    xcode-select --install ## command line tools only
    

    install nvm via command line cURL or Wget; then continue

    nvm install node
    npm install -g uaas-cli
    
Please Sign in or register to post replies

Write your reply to:

Draft