Server Side Swift with Kitura - Part 8: | Ray Wenderlich Videos

I'll also walk you through the Kitura CLI, which allows you to generate boilerplate Kitura servers from the command line.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3770-server-side-swift-with-kitura/lessons/8

https://clis.ng.bluemix.net/ is not working for me. The documentation page dont load. So i used that direct link: https://clis.ng.bluemix.net/download/bluemix-cli/latest/osx

@calculot Thank you for the heads up much appreciated!

Not working for me:

JeffMac-3:/ kilroy$ kitura init
/usr/local/Cellar/kitura/0.0.12/libexec/lib/node_modules/kitura-cli/kitura-init.js:12
let args = process.argv.slice(2);
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

With some help from the slack channel it seems my node and the latest node were not the same. I had to “brew link --overwrite node” node to fix it.

That also pointed me to a Mac app: https://www.kitura.io/app.html that does the same as create.

@gilroykilroy Thank you for sharing the solution and app much appreciated! :]