Closed andyjessop closed 2 years ago
Following the docs here: https://github.com/holochain/holochain-conductor-api#use-adminwebsocket
In ./admin.js:
./admin.js
const { AdminWebsocket } = require('@holochain/conductor-api'); const TIMEOUT = 5000; console.log( AdminWebsocket.connect(`http://localhost:8888`, TIMEOUT) .then(admin => admin.listDnas()) .then(console.log) .catch(console.log) );
Console output:
> node ./admin.js Promise { <pending> } { type: 'error', data: { type: 'deserialization', data: 'Bytes(Deserialize("unknown variant `list_dnas`, expected one of `app_info`, `crypto`, `zome_call`, `zome_call_invocation`, `signal_subscription`"))' } }
I get similar errors when calling any admin method.
Closing this. If the issue persists, please post here.
Following the docs here: https://github.com/holochain/holochain-conductor-api#use-adminwebsocket
In
./admin.js
:Console output:
I get similar errors when calling any admin method.