W3C home > Mailing lists > Public > public-interledger@w3.org > January 2016

Re: Interledger Reference Code Released

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Wed, 27 Jan 2016 15:37:48 +0100
Message-ID: <CAKaEYhLe5=046PteEUx3rU1nGouoBukgqb1Hx5xEsss0JL=MoQ@mail.gmail.com>
To: Evan Schwartz <evan@ripple.com>
Cc: Interledger Community Group <public-interledger@w3.org>
On 2 November 2015 at 17:47, Evan Schwartz <evan@ripple.com> wrote:

> We've released our reference implementation of the Interledger Protocol.
> Try out the demo at https://github.com/interledger/five-bells-demo
> ×
> ​
> This is a basic implementation of the Universal mode of the protocol. The
> demo runs a number of independent ledgers and connectors and allows you to
> select any two ledgers and send an interledger payment between them. This
> is meant to illustrate how easy it could (and arguably should) be to send
> money between payment networks.
> More documentation, draft specs, and other use case demos to come but
> we're looking forward to hearing your feedback on this in the meantime!

Having issues getting this running.

 npm start

const demo = require('./src/services/demo')

I guess that's an npm thing, so i downloaded npm 5.5

But same issue.

SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

npm ERR! Linux 3.16.0-44-generic
npm ERR! argv "/home/melvin/dev/node/node-v5.5.0-linux-x64/bin/node"
"/home/melvin/dev/node/node-v5.5.0-linux-x64/bin/npm" "start"

*npm ERR! node v5.5.0npm ERR! npm  v3.3.12*npm ERR! code ELIFECYCLE

So I tried

node index.js

npm ERR! Error: ENOENT, open

Sorry, Im probably making a simple mistake here.  Any tips on a workaround
would be great, thanks!

> --
> Evan Schwartz | Software Architect | Ripple
> [image: ripple.com] <http://ripple.com>

(image/png attachment: Screen_Shot_2015-11-03_at_1.37.44_AM.png)

Received on Wednesday, 27 January 2016 14:38:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 27 January 2016 14:38:19 UTC