Following the core concepts tutorial and running into this when running the test script. I assume it relates to await s.consistency()
/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/@holochain/try-o-rama/lib/conductor.js:79
if (signal.signal_type !== 'Consistency') {
^
TypeError: Cannot read property 'signal_type' of undefined
at /home/marcus/happs/core_concepts/cc_tuts/test/node_modules/@holochain/try-o-rama/lib/conductor.js:79:28
at WebSocket.<anonymous> (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/@holochain/hc-web-client/lib/index.js:100:37)
at WebSocket.emit (events.js:215:7)
at Receiver.receiverOnMessage (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/ws/lib/websocket.js:720:20)
at Receiver.emit (events.js:210:5)
at Receiver.dataMessage (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/ws/lib/receiver.js:414:14)
at Receiver.getData (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/ws/lib/receiver.js:346:17)
at Receiver.startLoop (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/ws/lib/receiver.js:133:22)
at Receiver._write (/home/marcus/happs/core_concepts/cc_tuts/test/node_modules/ws/lib/receiver.js:69:10)
at doWrite (_stream_writable.js:431:12)
Edit: Still occurs when commenting out s.consistency()
. Seems it actually relates to the create_person
call, i.e.
const create_result = await alice.call(
"cc_tuts",
"hello",
"create_person",
{
person: { name: "Alice" }
}
);