Error: Route.get() requires callback functions but got a [object Undefined]

  • GNU/Linux

    In my library.js I need to create a custom route so I do:

    params.router.get('/admin/test/:nameTest', params.middleware.admin.buildHeader, controllers.renderTest);

    But I obtain "Error executing 'static:app.load' in plugin 'nodebb-plugin----". Anyone can help me to resolve this problem?



Looks like your connection to NodeBB was lost, please wait while we try to reconnect.