Feathers: Error: Cannot find module '@feathersjs/express/errors'

Created on 29 Aug 2019  路  3Comments  路  Source: feathersjs/feathers

internal/modules/cjs/loader.js:775
throw err;
^

Error: Cannot find module '@feathersjs/express/errors'

whats is mean ?? debian 9.8, nodejs 12.9.1, npm 6.10.2

Most helpful comment

That module name has been deprecated a while ago and is not included anywhere in the current documentation. It has been moved to what @jnardone suggested.

All 3 comments

try ('@feathersjs/express').errorHandler

That module name has been deprecated a while ago and is not included anywhere in the current documentation. It has been moved to what @jnardone suggested.

@daffl hi, now i fix my errors , and i have next problem

/v4/node_modules/@feathersjs/authentication/lib/hooks/authenticate.js:22
if (!originalSettings || settings.strategies.length === 0) {
^

TypeError: Cannot read property 'length' of undefined

Was this page helpful?
0 / 5 - 0 ratings

Related issues

perminder-klair picture perminder-klair  路  3Comments

Vincz picture Vincz  路  4Comments

ausir0726 picture ausir0726  路  3Comments

rrubio picture rrubio  路  4Comments

davigmacode picture davigmacode  路  3Comments