W3C home > Mailing lists > Public > public-webpayments@w3.org > February 2014

Registering a key

From: Brent Shambaugh <brent.shambaugh@gmail.com>
Date: Sat, 1 Feb 2014 13:53:05 -0600
Message-ID: <CACvcBVq3UgBqP0MZ9w7xzY13jV=5uwZszAMOc04TEnP=DyrGDw@mail.gmail.com>
To: Web Payments CG <public-webpayments@w3.org>
Hello all. I am still new to node.js and javascript and I am trying to
register a key for
https://hacks.mozilla.org/2013/04/web-payments-with-payswarm-identity-part-1-of-3/
 I get this output when I type "node register-new-key.js" in the terminal
in the payswarm.js/lib directory:
 var nodeContextLoader = jsonld.contextLoaders.node({secure: true});

^
 TypeError: Cannot call method 'node' of undefined
     at Object.<anonymous>
(/home/brent/payswarm.js/lib/payswarm-client.js:1415:47)
     at Module._compile (module.js:456:26)
     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 Module.require (module.js:364:17)
     at require (module.js:380:17)
     at Object.<anonymous>
(/home/brent/payswarm.js/examples/config.js:36:16)
     at Module._compile (module.js:456:26)
     at Object.Module._extensions..js (module.js:474:10)


I believe this is a stack trace. How do I best troubleshoot this?

-Brent
Received on Saturday, 1 February 2014 19:53:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:34 UTC