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

Vincz picture Vincz  ·  4Comments

huytran0605 picture huytran0605  ·  3Comments

corymsmith picture corymsmith  ·  4Comments

arkenstan picture arkenstan  ·  3Comments

ausir0726 picture ausir0726  ·  3Comments