Open khimaros opened 4 years ago
Yeah, this plugin wasn't designed to be installed in ~/.ssb
, it's meant to be installed in app code. But I'm not opposed to supporting this use case, I just haven't done it and don't have time to dedicate, so PRs are welcome for this.
When I build this package, install to ~/.ssb/node_modules, and include in
~/.ssb/config
, an error of this form is thrown on ssb-server startup:The configuration is of the form:
I'm able to work around this by modifying
ssb-server/index.js
SecretStack to.use(require('ssb-conn'))
:I have a similar issue with ssb-legacy-conn and other similarly shaped plugins.
Are these not meant to be loaded via
~/.ssb/config
? Am I holding it wrong?