I tried to run the MAM example from the git: https://github.com/iotaledger/mam.client.js
Running the post.js from the /examples/ folder I got the following error:
/root/mam.client.js/lib/mam.js:102
bundle.addEntry(signatureFragments.length, address, value, tag, timestamp);
TypeError: Cannot read property 'length' of null
at new create (/root/mam.client.js/lib/mam.js:102:40)
at Object.<anonymous> (/root/mam.client.js/examples/post.js:25:13)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
Can anybody help with this?
Also see this issue on Github.