We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When executing on a new typescript project (v5) the npm run compile
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 > feather-app@0.0.0 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
The typescript compilation should work
Constantly compiling breaks.
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
The text was updated successfully, but these errors were encountered:
it seems that the decalration of RouteLookup was added on this file packages/express/src/declarations.ts on this commit
26aa937#diff-8a215d34dc2acdeff0871a1946ad1c914ebf5c039cfdb080c994c3d5652d6ac9 " thought i dont understand why as the package feathersjs/feathers does not export it
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
When executing on a new typescript project (v5) the
npm run compile
i have this error when compiling:
The scenario is:
then
selected: express as transport and REST (no real time) + SQL db adapter.
Then
then
Expected behavior
The typescript compilation should work
Actual behavior
Constantly compiling breaks.
System configuration
Module versions feathesjs versions:
NodeJS version: 18.18.2
Operating System: ubuntu 23.10
The text was updated successfully, but these errors were encountered: