You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I am stuck with this error when I start the server then try calling a method:
stack: 'Error: method:db,getStatus is not in list of allowed methods\n' +
This is after running NODE_ENV=test node ./bin.js start -- --path=./test-data in one terminal, then doing NODE_ENV=test node ./bin.js db.getStatus -- --path=./test-data in another terminal.
I feel like I need to do something with secret-handshake in order for this to work, but I'm not sure.
The text was updated successfully, but these errors were encountered:
There are several modules intertwined here, so I'm posting this here since this I think is the top module in the dependency graph I think.
This is me trying to start a
ssb-server2
module, being a library that provides a CLI interface and daemon-like process for ssb, like ssb-server.I started by more-or-less copying the structure of
ssb-server
-- https://github.com/planetary-social/ssb-server2/blob/efbbe600294695893551384981a6faa771a5091d/bin.js#L99The call to
ssb-client
:However I am stuck with this error when I start the server then try calling a method:
This is after running
NODE_ENV=test node ./bin.js start -- --path=./test-data
in one terminal, then doingNODE_ENV=test node ./bin.js db.getStatus -- --path=./test-data
in another terminal.I feel like I need to do something with secret-handshake in order for this to work, but I'm not sure.
The text was updated successfully, but these errors were encountered: