Ubuntu Local Cloud Server install not working

I am working on installing a Particle local cloud on a Gigabyte BRIX GB-BXBT-2807. So far I have:

  1. Installed Ubuntu
  2. Cloned the spark-server git repository
  3. Installed NPM,Node and all their associated packages
  4. Tried running “node main.js”

This is where I run into an issue, this is supposed to create the public key and other things from what i have read. but all it does is drop back to the command prompt without giving any error message or other notification of what it is doing or not doing…

Please let me know if I have done something wrong or what else i need to do to get this running.

Thanks