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?