ok. so i installed ssb-server@14 and corrected the config file.
now whenever i create invites the tmux where ssb-server runs shows it quitting with this error
/home/an3/.npm-global/lib/node_modules/ssb-server/node_modules/ssb-invite/index.js:145
cb(null, [opts.external ? opts.external : addr.host, addr.port, addr.key].join(':') + '~' + seed.toString('base64'))
^
TypeError: cb is not a function
at /home/an3/.npm-global/lib/node_modules/ssb-server/node_modules/ssb-invite/index.js:145:13
at /home/an3/.npm-global/lib/node_modules/ssb-server/node_modules/level-sublevel/shell.js:53:51
at /home/an3/.npm-global/lib/node_modules/ssb-server/node_modules/level-sublevel/nut.js:109:13