feathersjs/docs

Comment: Express (api/express.md)

sprasad19 opened this issue · 1 comments

How To define custom route like
app.use('/api/v1/users', createService(options));

// Get our initialized service so that we can register hooks
const service = app.service('api/v1/users');

it showing D:\muproject\feathers\feathers1\node_modules@feathersjs\authentication\lib\service.js:128
throw new Error(The '${service}' entity service does not exist (set to 'null' if it is not required));

daffl commented

You have to update all references to the new service path. In you case the service option in the authentication configuration.