@aniinprni you might try renaming it to index.js instead. Or set "main": "library.js", in package.json
We use the 0.9.x branch I have this warning on startup:
[plugins/nodebb-plugin-ns-awards] Hook filter:user.delete is deprecated, please use an alternative
When the plugin is active and I delete a user, the boards crash on a callback error.
I've investigated this plugin and the only mention of this hook is:
I've looked at the wiki containing all the hooks. But I'm not really sure what "alternative" to replace these values with. Do I use static?
@Whiplash174 don't think it's a problem with the hook. The warning on the startup is just an indication that the hook will be removed in the future but it works now.
Looks like the problem is with the plugin when it tries to delete the awards for the deleted user. Create an issue on the plugin github page.