Skip to content

no exported member 'RouteLookup' #3322

@fidelio314

Description

@fidelio314

Steps to reproduce

When executing on a new typescript project (v5) the
npm run compile

i have this error when compiling:
The scenario is:

npm create feathers@latest feather-app

then
selected: express as transport and REST (no real time) + SQL db adapter.
Then

npm install

then

> npm run compile

> [email protected] compile
> shx rm -rf lib/ && tsc

node_modules/@feathersjs/express/lib/declarations.d.ts:4:119 - error TS2305: Module '"@feathersjs/feathers"' has no exported member 'RouteLookup'.

4 import { Application as FeathersApplication, Params as FeathersParams, HookContext, ServiceMethods, ServiceInterface, RouteLookup } from '@feathersjs/feathers';
                                                                                                                        ~~~~~~~~~~~


Found 1 error in node_modules/@feathersjs/express/lib/declarations.d.ts:4

Expected behavior

The typescript compilation should work

Actual behavior

Constantly compiling breaks.

System configuration

Module versions feathesjs versions:

"@feathersjs/adapter-commons": "^5.0.11",
"@feathersjs/authentication": "^5.0.11",
"@feathersjs/authentication-client": "^5.0.11",
"@feathersjs/configuration": "^5.0.11",
"@feathersjs/errors": "^5.0.11",
"@feathersjs/express": "^5.0.11",
"@feathersjs/feathers": "^5.0.11",
"@feathersjs/knex": "^5.0.11",
"@feathersjs/schema": "^5.0.11",
"@feathersjs/transport-commons": "^5.0.11",
"@feathersjs/typebox": "^5.0.11",

NodeJS version: 18.18.2

Operating System: ubuntu 23.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions