Keep in mind require.main's "scope" is app.js, so you'd have to do require.main.require('./src/groups.js'); if you want access to the groups lib.
require.main will always be app.js for plugins, since plugins are only called by NodeBB.
Any ideas on this? This was when posting.
TypeError: this.transport is null socket.io.js (linea 2, col 15712) TypeError: this.transport is null socket.io.js (linea 2, col 17060) TypeError: e is null nodebb....c02d9a3 (linea 16, col 14765)
@julian Yeah they're based in the Netherlands, he's also my most useful member, posts a lot of mixes for people to download etc. Hopefully fingers are pulled out of orifices and this gets merged.