Open ndarilek opened 4 years ago
It appears that ssb-plugins
is expecting an "options" object here:
install: function (opts, _opts) {
var pluginName
if(isString(opts)) {
pluginName = opts
opts = _opts
opts.module = pluginName
}
I found that installing a plugin with {}
after it does not through the error:
$ ssb-server plugins.install ssb-about {}
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
I'd guess it's still relevant. The {} as command line argument syntax is a bit odd. Maybe there's a scenario where passing options on the installation command line is needed, but I think the default empty case should be handled silently.
@ndarilek try using the --name
flag. ssb-server plugins.install --name ssb-about
see also: https://github.com/ssbc/ssb-server/issues/749 https://github.com/ssbc/ssb-server/issues/718
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
Getting the following when attempting to instlal plugins on V19.2.0: